facebookarchive/RakNet

RakNet broken on Windows 10?

CPlusPlus17 opened this issue · 7 comments

Tried to get a RakNet Client running on Windows 10, but things aren't working very well. Does someone had such a problem and could fix it? This is logged when trying to connect to the server and send some data. The data is never received.

sendto failed with code -1 for char 5 and length 1464.
sendto failed:Error code - 10040
A message sent on a datagram socket was larger than the internal message buffer or some other network limit, or the buffer used to receive a datagram into was smaller than the datagram itself.

Thanks
Manuel

PS: I know the fact that the library is dead, but getting it work until we replaced it, would be nice

Check your network setting. Windows mtu lower than raknet default settings.
Maybe help in first test, if you set maximum mtu.

Tested with lower and higher mtu. Same error besides the length changes a bit in the error.

I tested in windows 10, and works correctly in my environment.
Any public source code?

Sadly not, I have access to it, but not allowed to post it.
Anything special I should have a look at? Checked the init and connect code, is everything default, no special hacks or such stuff.

Are you using the current 4.081 version? We have a very old release with 4.04.

This version

Finally got the new version compiled. MTU bug seems fixed but it seems some stuff changed and received messages are not processed.

Does someone has experiences from migrating 4.04 to 4.081? A diff between the two versions shows that the socket code was completely rewritten.

Hi, witch messages not processed? Own message type or system message?
My opinion, first compare message type file.