SET.SOCKET.MODE() |
|
|
The SET.SOCKET.MODE() function sets parameters for an open socket.
Format
SET.SOCKET.MODE(skt, key, value)
where
The SET.SOCKET.MODE() function returns TRUE (1) if the action is successful, FALSE (0) if it fails. The STATUS() function can be used to determine the cause of failure.
The SKT$INFO.EVENTS mode allows a program to specify events that are to be monitored for the socket when using the SELECT.SOCKET() function. The value argument is an additive value chosen from:
See also: Using Socket Connections, ACCEPT.SOCKET.CONNECTION, CLOSE.SOCKET, CREATE.SERVER.SOCKET(), OPEN.SOCKET(), READ.SOCKET(), SELECT.SOCKET(), SERVER.ADDR(), SOCKET.INFO(), WRITE.SOCKET() |