contents   index   previous   next



Socket close()

syntax:

socket.close()

return:

boolean - Whether the operation was successful or not

 

description:

This method closes the specified socket and frees up any memory associated with the object. It must be called to appropriately dispose of the socket. If not explicitly called, then the socket will be automatically closed when the library is unloaded. If the socket is successfully closed, then true is returned, otherwise false. The nature of the error can be retrieved with Socket error().

 

see:

#link <sesock>, Socket error()

 

 


Socket linger()