(s)
Disconnect socket.
Disconnects the socket s. If successful, disconnect returns 0, otherwise, it returns -1.
disconnect
Since we can’t call fclose on the file descriptor directly, use this function to disconnect the socket.
Package: sockets