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

m (bot: correcting title)
m (Bot: de-linking old mIRC menu)
Line 1: Line 1:
{{mirc title|/sockaccept Command}}{{mIRC menu}}
+
{{mirc title|/sockaccept Command}}
 
The '''/sockaccept''' command allows mIRC the ability to accept incoming connections on a port that has been opened with the {{mIRC|/socklisten}} commmand.
 
The '''/sockaccept''' command allows mIRC the ability to accept incoming connections on a port that has been opened with the {{mIRC|/socklisten}} commmand.
  

Revision as of 19:41, 15 June 2017

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 Dec 1997
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See Also

[Expand]
v · d · e mIRC commands list