From WikiChip
Difference between revisions of "mirc/commands/socklisten"
m (Bot: Adding a template) |
m (Bot: Fixing links) |
||
| Line 40: | Line 40: | ||
* [[$sockerr identifier - mIRC|$sockerr]] | * [[$sockerr identifier - mIRC|$sockerr]] | ||
* [[$sockbr identifier - mIRC|$sockbr]] | * [[$sockbr identifier - mIRC|$sockbr]] | ||
| − | * | + | * {{mIRC|/sockaccept}} |
| − | * | + | * {{mIRC|/sockclose}} |
| − | * | + | * {{mIRC|/socklist}} |
| − | * | + | * {{mIRC|/sockmark}} |
| − | * | + | * {{mIRC|/sockopen}} |
| − | * | + | * {{mIRC|/sockpause}} |
| − | * | + | * {{mIRC|/sockread}} |
| − | * | + | * {{mIRC|/sockrename}} |
| − | * | + | * {{mIRC|/sockudp}} |
| − | * | + | * {{mIRC|/sockwrite}} |
{{mIRC command list}} | {{mIRC command list}} | ||
[[Category:MIRC commands]] | [[Category:MIRC commands]] | ||
Revision as of 18:58, 5 July 2014
The /socklisten command allows mIRC to listen for specific connections on a specified host port.
Synopsis
/socklisten [-dp] [bindip] <name> [port]
Switches
| Switch | Description |
|---|---|
| d | Indicates that an IP address has been specified as the bind address. |
| p | Enables UPnP support for the listening socket, if that is available. |
Parameters
| Parameter | Description |
|---|---|
| <name> | The name to give the new listening socket. |
| [port] | The port number to listen on for this socket. If not specified, mIRC attempts to use a random port specified in the DCC port range options. |
Example
Open a listening socket named mySocket and listen on port 31781:
/socklisten mySocket 31781
Compatibility
Added: mIRC v5.3
Added On: 13/12/97
See Also
- List of commands
- List of identifiers
- $sock
- $sockname
- $sockerr
- $sockbr
- /sockaccept
- /sockclose
- /socklist
- /sockmark
- /sockopen
- /sockpause
- /sockread
- /sockrename
- /sockudp
- /sockwrite
mIRC commands list