Project

General

Profile

Socklisten » History » Version 11

Per Amundsen, 01/10/2023 12:31 AM

1 1 Per Amundsen
_Added in 1.9.0_
2
3 11 Per Amundsen
*/socklisten [-dpuEn] [bindip] <name> [port] [certificate]*
4 1 Per Amundsen
5 3 Per Amundsen
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]].
6 1 Per Amundsen
7
*Switches*
8
9
-d - Switch indicates that you specified an ip address as the bind address.
10
-p - Enables "UPnP":https://en.wikipedia.org/wiki/Universal_Plug_and_Play support for the listening socket, if that is available.
11 10 Per Amundsen
-u - Enables "dual stack sockets":https://docs.microsoft.com/en-us/windows/win32/winsock/dual-stack-sockets.
12 1 Per Amundsen
-E - Creates a SSL listening socket.  *(AdiIRC only)*
13 11 Per Amundsen
-n - Disables the "Nagle algorithm":https://en.wikipedia.org/wiki/Nagle%27s_algorithm.
14 1 Per Amundsen
15
*Parameters*
16
17
[bindip] - Ip address to bind to. (used with -d)
18 2 Per Amundsen
<name> - Name to give the listening connection.
19 1 Per Amundsen
[port] - Port to listen on.
20 8 Per Amundsen
[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)*