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

Throw an error when switching networks. But why hasn't ping been working #58

Open
jiangjiali opened this issue May 17, 2024 · 0 comments

Comments

@jiangjiali
Copy link

Error: System.Net.Sockets.SocketException (0x80004005): Network is unreachable
at System.Net.Sockets.Socket.Send (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) [0x00000] in <00000000000000000000000000000000>:0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <00000000000000000000000000000000>:0
at Fantasy.KCPClientNetwork.Output (System.Byte[] bytes, System.Int32 count) [0x00000] in <00000000000000000000000000000000>:0
at kcp2k.Kcp.FlushBuffer (System.Int32 size) [0x00000] in <00000000000000000000000000000000>:0
at kcp2k.Kcp.Flush () [0x00000] in <00000000000000000000000000000000>:0
at kcp2k.Kcp.Update (System.UInt32 currentTimeMilliSeconds) [0x00000] in <00000000000000000000000000000000>:0
at Fantasy.KCPClientNetwork.KcpUpdate () [0x00000] in <00000000000000000000000000000000>:0
at Fantasy.KCPClientNetwork.Update () [0x00000] in <00000000000000000000000000000000>:0
at Fantasy.NetworkThread.Update () [0x00000] in <00000000000000000000000000000000>:0

System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
Fantasy.UnityLog:Error(String)
Fantasy.Log:Error(Exception)
Fantasy.KCPClientNetwork:Output(Byte[], Int32)
kcp2k.Kcp:FlushBuffer(Int32)
kcp2k.Kcp:Flush()
kcp2k.Kcp:Update(UInt32)
Fantasy.KCPClientNetwork:KcpUpdate()
Fantasy.KCPClientNetwork:Update()
Fantasy.NetworkThread:Update()

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