Yes you need add a bind() before connect to assign the port number, address and protocol the socket use , so that the socket could receive the other end's reply.
Yes you need add a bind() before connect to assign the port number, address and protocol the socket use , so that the socket could receive the other end's reply.