Project

General

Profile

Socklisten » History » Revision 11

Revision 10 (Per Amundsen, 05/09/2022 07:42 PM) → Revision 11/12 (Per Amundsen, 01/10/2023 12:31 AM)

_Added in 1.9.0_ 

 */socklisten [-dpuEn] [-dpuE] [bindip] <name> [port] [certificate]* 

 Listens on the specified port for connections to that port. If a port is not specified, the port is selected randomly from the range specified in [[Options Dialog|Options]] -> [[DCC Options]] -> [[DCC_Options#Portrange-start|Port Range]]. 

 *Switches* 

 -d - Switch indicates that you specified an ip address as the bind address. 
 -p - Enables "UPnP":https://en.wikipedia.org/wiki/Universal_Plug_and_Play support for the listening socket, if that is available. 
 -u - Enables "dual stack sockets":https://docs.microsoft.com/en-us/windows/win32/winsock/dual-stack-sockets. 
 -E - Creates a SSL listening socket.    *(AdiIRC only)* 
 -n - Disables the "Nagle algorithm":https://en.wikipedia.org/wiki/Nagle%27s_algorithm. 

 *Parameters* 

 [bindip] - Ip address to bind to. (used with -d) 
 <name> - Name to give the listening connection. 
 [port] - Port to listen on. 
 [certificate] - the SSL certificate "pfx":https://en.wikipedia.org/wiki/PKCS_12 file to use with -E, if not specified, the global client certificate is used. *(AdiIRC only)*