Project

General

Profile

Socklisten » History » Version 12

Per Amundsen, 02/16/2023 03:16 PM

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