mIRC Homepage
Posted By: FroggieDaFrog /sockopen -n TCP_NODELAY sock option - 29/03/17 03:02 PM
I'd like to suggest the ability to disable the nagle TCP algorithm for sockets.

Code:
/sockopen -nde64 [bindip] <name> <address> <port>
-n: disables the winsock nagle algorithm

All other options are the same as current /sockopen functionality


This can be done by calling the setsockopt function with a socket options structure where level is set to IPPROTO_TCP/TCP_NODELAY and optval is a bool false
© mIRC Discussion Forums