IAI America XSEL Ethernet User Manual
Page 42
![background image](/manuals/350340/42/background.png)
- 36 -
(Note 8)
The diagram below explains the mechanism of “socket interface.”
* Bear in mind that “socket,” “connect,” “write,” “read,” “close,” “bind,” “listen” and “accept” are not
SEL language commands (SEL commands).
(1) Client open
(2) Server open
Data transmission
End of socket communication
Generation of socket
read
write
close
Waiting for connection request
Acceptance of connection
Establishment of connection
Data transmission
End of socket communication
Generation of socket
write
read
close
(OPEN command)
socket
connect
Error?
Error handling
Error?
(OPEN command)
socket
bind
listen
accept
Retry
Y
N
Y
N
Decide whether to
execute retry or perform
error handling in
accordance with the
system.
Error handling
Decide whether to
execute retry or perform
error handling in
accordance with the
system.
close
close