How to set NoDelay
socket option (or socket options in general) with supersocket?
Asked
Active
Viewed 1,201 times
3

Anri
- 6,175
- 3
- 37
- 61
1 Answers
2
Ok that was easy, don't know why I didn't see it before.
Underlying Socket
object is accessible through session.
WebSocketServer appServer;
appServer.NewSessionConnected += session =>
session.SocketSession.Client
.SetSocketOption(SocketOptionLevel.Socket,
SocketOptionName.NoDelay, true);

Anri
- 6,175
- 3
- 37
- 61