Description
socket_close() closes the Socket instance
given by socket
.
Return Values
No value is returned.
Changelog
Version | Description |
---|---|
8.0.0 |
socket is a Socket instance now;
previously, it was a resource.
|
See Also
- socket_bind() - Binds a name to a socket
- socket_listen() - Listens for a connection on a socket
- socket_create() - Create a socket (endpoint for communication)
- socket_strerror() - Return a string describing a socket error