UINT nStuff;
nStuff = sendto(g_socConnection, bySendBuffer, 5, NULL, &adrRecv, nSize);
if (nStuff != 5)
{
Output("Error! Sending!"); // This does not get tripped
}
I got no idea what''s wrong..
sendto not sending??
For some reason my sendto command is not sending..
It says it sends the correct number of bytes but nothing gets sent..
I know cause my netstat -s doesn''t register any new datagrams being sent..
Here is the offending source,
------------------------------------------------------------I wrote the best video game ever, then I woke up...
Maybe the receiver''s address is somehow invalid. This could lead to a situation where sendto hands the packet to the network layer and gets an OK, but when the network layer continues to process the packet, it''s dropped for some reason (firewall settings, invalid inet address, ...).
cu,
Prefect
One line of sourcecode says more than a thousand words.
cu,
Prefect
One line of sourcecode says more than a thousand words.
Widelands - laid back, free software strategy
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement