send() problem
What can cause the following thing:
once my client has connected to the server, passing its listening port as a message, the server responds by taking the ip from the sockaddr_in struct retrieved from accept(). when calling send() (after socket() and connect()), the server exits without any error messages - the program just closes - bam! this only seems to happen when i send the message to the correct ip address and port - sending it to a non-listening port somewhere only produces the normal SOCKET_ERROR. any ideas why that is so?
thanks,
crispy
"Literally, it means that Bob is everything you can think of, but not dead; i.e., Bob is a purple-spotted, yellow-striped bumblebee/dragon/pterodactyl hybrid with a voracious addiction to Twix candy bars, but not dead."- kSquared
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement