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.
如何使用supersocketNoDelay设置套接字选项(或一般的套接字选项)?
NoDelay
好的,这很容易,不知道为什么我以前没有看到它。底层Socket对象可通过会话访问。
Socket
WebSocketServer appServer; appServer.NewSessionConnected += session => session.SocketSession.Client .SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.NoDelay, true);