[Overview][Constants][Types][Procedures and functions][Index] |
Closes a socket handle.
Source position: socketsh.inc line 177
function CloseSocket( |
Sock: LongInt |
):LongInt; |
CloseSocket closes a socket handle. It returns 0 if the socket was closed succesfully, -1 if it failed.
On error, -1 is returned.
Socket |
|
Create new socket (deprecated) |
lazarus-ccr.sourceforge.net |