CLOSE.SOCKET

CLOSE.SOCKET

Top  Previous  Next

 

The CLOSE.SOCKET statement closes a socket.

 

 

Format

 

CLOSE.SOCKET skt

 

where

 

sktis the socket variable corresponding to the socket to be closed.

 

 

The socket previously opened using ACCEPT.SOCKET.CONNECTION(), CREATE.SERVER.SOCKET() or OPEN.SOCKET() is closed.

 

 

See also:

Using Socket Connections, ACCEPT.SOCKET.CONNECTION, CREATE.SERVER.SOCKET(), OPEN.SOCKET(), READ.SOCKET(), SELECT.SOCKET(), SERVER.ADDR(), SET.SOCKET.MODE(), SOCKET.INFO(), WRITE.SOCKET()