CloseSocket function
Closes a socket handle.
Declaration
function CloseSocket(Sock: LongInt): LongIntDescription
CloseSocket closes a socket handle. It returns 0 if the socket
was closed successfully, -1 if it failed.Errors
On error, -1 is returned.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
