Exception:通常每个套接字地址(协议/网络地址/端口)只允许使用一次。

报错信息

SocketException: 通常每个套接字地址(协议/网络地址/端口)只允许使用一次。
--ErrorCode: 10048
--Message: 通常每个套接字地址(协议/网络地址/端口)只允许使用一次。
--SocketErrorCode: AddressAlreadyInUse
StackTrace:
   在 System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
   在 System.Net.Sockets.Socket.Bind(EndPoint localEP)
   在 System.Net.Sockets.TcpListener.Start(Int32 backlog)
   在 DynamicClass.GomokuGame.InitializeNetwork()
   在 DynamicClass.GomokuGame.ShowStartMenu()
   在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   在 System.Threading.ThreadHelper.ThreadStart()

 

解决方法

暂无解决方案。

相关信息
0 查看
2025-07-20 12:34
Quicker版本
版本 反馈次数