SLikeSoft / SLikeNet

SLikeNetâ„¢ is an Open Source/Free Software cross-platform network engine written in C++ and specifially designed for games (and applications which have comparable requirements on a network engine like games) building upon the discontinued RakNet network engine which had more than 13 years of active development.
https://www.slikenet.com/
Other
401 stars 63 forks source link

Incoming connect, cant do a FULL connect? #67

Closed RusJJ closed 3 years ago

RusJJ commented 3 years ago

Windows, x86 app.

I got a weirdo thing happend to me. On this line: https://github.com/facebookarchive/RakNet/blob/1a169895a900c9fc4841c556e16514182b75faf8/Source/RakPeer.cpp#L723 (that part of code exactly the same). On client: infinite loop On server: it works perfectly. Also my client made by DLL inject. Any ideas? Commented that part of code, idk if it works (shows me ID_NEW_INCOMING_CONNECTION, i think that means it's NOT connected).

UPD: Magically started working in another thread. But still "Incoming connection". How should i fully connect?

RusJJ commented 3 years ago

Ah, sorry. Im dummie, lol. Fixed.