The point is that you have an error on nearly every line. If a port is not provided, you must stop, you cannot continue. If you have an error creating the socket, you must stop, you cannot...
Type: Posts; User: tabstop
The point is that you have an error on nearly every line. If a port is not provided, you must stop, you cannot continue. If you have an error creating the socket, you must stop, you cannot...
So I don't think you've got the hang of this indentation yet: Indent style - Wikipedia, the free encyclopedia
You're saying that this line prints?
if(recv(i, buffer, strlen(buffer)-1, 0) < 0)...