Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The examples client gives error when trying to connect to server form second VS #152

Open
meiry opened this issue Apr 11, 2021 · 0 comments

Comments

@meiry
Copy link

meiry commented Apr 11, 2021

Hey

i couldn't start the client in any of the examples in the Samples\LibraryTestSamples , the server is running fine
But when i start the client from the second Visual Studio
what im doing is :
example : lidgren-network-gen3-master\Samples\LibraryTestSamples\EncryptionSample
Server starting from visual studio 1 < -- working
Client starting from visual studio 2 <-- not working gives the error below
Im keep getting this error :

Socket bound to 0.0.0.0:59055: True
Network thread started
[NetConnection to [::1]:14242] (InitiatedConnect) user called connect
Failed to send packet: System.Net.Sockets.SocketException (0x80004005): An address incompatible with the requested protocol was used
   at System.Net.Sockets.Socket.SendTo(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, EndPoint remoteEP)
   at Lidgren.Network.NetPeer.ActuallySendPacket(Byte[] data, Int32 numBytes, IPEndPoint target, Boolean& connectionReset) in C:\Dev\my\networking\rudp\lidgren-network-gen3-master\Lidgren.Network\NetPeer.LatencySimulation.cs:line 164
Failed to send packet: System.Net.Sockets.SocketException (0x80004005): An address incompatible with the requested protocol was used
   at System.Net.Sockets.Socket.SendTo(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, EndPoint remoteEP)
   at Lidgren.Network.NetPeer.ActuallySendPacket(Byte[] data, Int32 numBytes, IPEndPoint target, Boolean& connectionReset) in C:\Dev\my\networking\rudp\lidgren-network-gen3-master\Lidgren.Network\NetPeer.LatencySimulation.cs:line 164
Resending Connect...
Failed to send packet: System.Net.Sockets.SocketException (0x80004005): An address incompatible with the requested protocol was used
   at System.Net.Sockets.Socket.SendTo(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, EndPoint remoteEP)
   at Lidgren.Network.NetPeer.ActuallySendPacket(Byte[] data, Int32 numBytes, IPEndPoint target, Boolean& connectionReset) in C:\Dev\my\networking\rudp\lidgren-network-gen3-master\Lidgren.Network\NetPeer.LatencySimulation.cs:line 164
Resending Connect...
Failed to send packet: System.Net.Sockets.SocketException (0x80004005): An address incompatible with the requested protocol was used
   at System.Net.Sockets.Socket.SendTo(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, EndPoint remoteEP)
   at Lidgren.Network.NetPeer.ActuallySendPacket(Byte[] data, Int32 numBytes, IPEndPoint target, Boolean& connectionReset) in C:\Dev\my\networking\rudp\lidgren-network-gen3-master\Lidgren.Network\NetPeer.LatencySimulation.cs:line 164
Resending Connect...
Failed to send packet: System.Net.Sockets.SocketException (0x80004005): An address incompatible with the requested protocol was used
   at System.Net.Sockets.Socket.SendTo(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, EndPoint remoteEP)
   at Lidgren.Network.NetPeer.ActuallySendPacket(Byte[] data, Int32 numBytes, IPEndPoint target, Boolean& connectionReset) in C:\Dev\my\networking\rudp\lidgren-network-gen3-master\Lidgren.Network\NetPeer.LatencySimulation.cs:line 164
Resending Connect...
Failed to send packet: System.Net.Sockets.SocketException (0x80004005): An address incompatible with the requested protocol was used
   at System.Net.Sockets.Socket.SendTo(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, EndPoint remoteEP)
   at Lidgren.Network.NetPeer.ActuallySendPacket(Byte[] data, Int32 numBytes, IPEndPoint target, Boolean& connectionReset) in C:\Dev\my\networking\rudp\lidgren-network-gen3-master\Lidgren.Network\NetPeer.LatencySimulation.cs:line 164
[NetConnection to [::1]:14242] (Disconnected) Failed to establish connection - no response from remote host

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

No branches or pull requests

1 participant