Just as the title saying,in a tcp connect example
- a server create a sockfd with
socket(AF_INET, SOCK_STREAM, IPPROTO_TCP)
function, - then it
bind
the sockfd to a local sockaddr struct, - the server
accept
the client's connection, and returns a clientfd - server and client
send
orrecv
messages
here is the question,after step 4, is it necessary to close the clientfd by manual?