Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试开发一个套接字程序。这是我的代码的一部分:
TcpListener TcpDinleyici = new TcpListener(7091); TcpDinleyici.Start(); Socket IstemciSoket = TcpDinleyici.AcceptSocket();
程序在最后一行之后等待并且没有应答。你对这个问题有什么建议吗?
韩国,
恰格恩
因为它正在等待来自客户端的连接。