Sockets
Content:
Notes
The Sockets module provides basic network socket manipulation functions.
It was originally written by Ivan for AMX 0.9.3, and then rewritten by Kenterfie from the HLSW Dev Team.
- sockets.inc (Natives for the Sockets module.)
Functions
socket_change - Returns true if the socket state has changed.
socket_close - Closes a socket.
socket_open - Opens a new connection to hostname:port and returns its handler.
socket_recv - Receives data from a socket, for a maximum length.
socket_send - Sends data to a socket.