Hello,
For my next online game, I'm developing my network logic out of Unity (as the servers won't be Unity-based and I want to re-use this work on non-Unity project). In my Visual Studio test project everything work perfectly, but I have a problem when calling my DLL from Unity :
Socket.ReceiveFromAsync - Sender EndPoint doesn't work
For my next online game, I'm developing my network logic out of Unity (as the servers won't be Unity-based and I want to re-use this work on non-Unity project). In my Visual Studio test project everything work perfectly, but I have a problem when calling my DLL from Unity :
Code (csharp):
- {
- // UDP error -> Event
- if (e.SocketError != SocketError.Success || e.BytesTransferred == 0)
- {
- if (Server.Crash != null)...