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..
🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
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,
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.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement