From WikiChip
Difference between revisions of "mirc/commands/sockaccept"
< mirc‎ | commands

m (Bot: Fixing links)
m (Bot: Fixing links)
Line 24: Line 24:
 
* [[List of commands - mIRC|List of commands]]
 
* [[List of commands - mIRC|List of commands]]
 
* [[List of identifiers - mIRC|List of identifiers]]
 
* [[List of identifiers - mIRC|List of identifiers]]
* [[$sock identifier - mIRC|$sock]]
+
* {{mIRC|$sock}}
* [[$sockname identifier - mIRC|$sockname]]
+
* {{mIRC|$sockname}}
* [[$sockerr identifier - mIRC|$sockerr]]
+
* {{mIRC|$sockerr}}
* [[$sockbr identifier - mIRC|$sockbr]]
+
* {{mIRC|$sockbr}}
 
* {{mIRC|/sockclose}}
 
* {{mIRC|/sockclose}}
 
* {{mIRC|/socklist}}
 
* {{mIRC|/socklist}}

Revision as of 20:44, 5 July 2014

The /sockaccept command allows mIRC the ability to accept incoming connections on a port that has been opened with the /socklisten commmand.

Synopsis

/sockaccept <name>

Paramters

Name: The name that should be assigned to the accepted connection in order to reference it later.

Example

; Listen for connections on the socket named mySock
ON *:SOCKLISTEN:mySock: {
 
  ; Accept incoming connection on this socket and name them
  ; with a combination of the socket's name and the current $ctime
  sockaccept $+($sockname,$ctime)
}

Compatibility

Added: mIRC v5.3

Added On: 13/12/97

See Also

[Expand]
v · d · e mIRC commands list