writes a simple client and server test function. After calling accpet, server will write the listening socket, and a SIGPIPE will be generated on the server side.
excuse me, why is this?
writes a simple client and server test function. After calling accpet, server will write the listening socket, and a SIGPIPE will be generated on the server side.
excuse me, why is this?
the connection is a sub-connection of accept, and the listening socket is not connected, so of course it will SIGPIPE
.Previous: Could you tell me how to write the regular expression required like this?
Next: Address bar URL