Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

RakNet broken on Windows 10? #111

Open
CPlusPlus17 opened this issue Jun 11, 2017 · 7 comments
Open

RakNet broken on Windows 10? #111

CPlusPlus17 opened this issue Jun 11, 2017 · 7 comments

Comments

@CPlusPlus17
Copy link

CPlusPlus17 commented Jun 11, 2017

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

@BigJoe01
Copy link

BigJoe01 commented Jun 11, 2017

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

@CPlusPlus17
Copy link
Author

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

@BigJoe01
Copy link

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

@CPlusPlus17
Copy link
Author

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.

@BigJoe01
Copy link

This version

@CPlusPlus17
Copy link
Author

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.

@BigJoe01
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants