CLOSE()

this is berkeley socket used to close a socket. this also terminates the connection (TCP)

    // 12. close() - Close the socket
    close(client_socket);
    close(server_socket);

Last updated