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

Sample目录里的例子跑不通 #29

Open
Rr7716 opened this issue Nov 2, 2023 · 1 comment
Open

Sample目录里的例子跑不通 #29

Rr7716 opened this issue Nov 2, 2023 · 1 comment

Comments

@Rr7716
Copy link

Rr7716 commented Nov 2, 2023

System.Net.Sockets.SocketException (10054): 远程主机强迫关闭了一个现有的连接。
at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at KcpProject.UDPSession.Recv(Byte[] data, Int32 index, Int32 length) in C:\Users\Admin\Downloads\ConsoleApp2\UDPSession.cs:line 133
Receive Message failed.

没有动代码,跑不通,请问是什么原因呢

@limpo1989
Copy link
Owner

需要检查一下你的服务器是否正常,比如防火墙,端口,客户端连接地址

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

2 participants