Socket.close

From Spheriki

Jump to: navigation, search

Closes the socket. The socket cannot be read from or written to after this.


Contents

Usage

Socket.close();
  • Socket Sphere Socket object to close.


Examples

See examples for ListenOnPort() and OpenAddress().


Notes

  • It is good practice to call this function after using a socket to send and receive data.


See also

Personal tools