Next: Error codes.
Up: Socket I/O
Previous: Stream-oriented, character-at-a-time interface.
  Contents
  Index
These calls need more documentation.
- socket_select(+SymConName,+Timeout,-ReadSockL,-WriteSockL,-ErrSockL,?ErrorCode)
-
SymConName must be an atom that denotes an existing
connection, which must be previously created with socket_set_select/4
(described below). ReadSockL, WriteSockL,
ErrSockL are lists of socket handles (as returned by
socket/2) that specify the available sockets that are available for
reading, writing, or on which exception conditions occurred.
- socket_set_select(+SymConName,+ReadSockFdLst,+WriteSockFdLst,+ErrorSockFdLst)
-
Creates a connection under the symbolic name SymConName
(an atom) for subsequent use by socket_select/6.
ReadSockFdLst, WriteSockFdLst, and ErrorSockFdLst are
lists of sockets for which socket_select/6 is to be monitoring read,
write, or exception conditions.
- socket_select_destroy(+SymConName)
-
Destroys the specified connection.
Baoqiu Cui
2000-04-23