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

m (Bot: Adding a template)
m (Bot: Fixing links)
Line 1: Line 1:
The '''/sockaccept''' command allows mIRC the ability to accept incoming connections on a port that has been opened with the [[/socklisten command - 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.
  
 
== Synopsis ==
 
== Synopsis ==
Line 28: Line 28:
 
* [[$sockerr identifier - mIRC|$sockerr]]
 
* [[$sockerr identifier - mIRC|$sockerr]]
 
* [[$sockbr identifier - mIRC|$sockbr]]
 
* [[$sockbr identifier - mIRC|$sockbr]]
* [[/sockclose command - mIRC|/sockclose]]
+
* {{mIRC|/sockclose}}
* [[/socklist command - mIRC|/socklist]]
+
* {{mIRC|/socklist}}
* [[/socklisten command - mIRC|/socklisten]]
+
* {{mIRC|/socklisten}}
* [[/sockmark command - mIRC|/sockmark]]
+
* {{mIRC|/sockmark}}
* [[/sockopen command - mIRC|/sockopen]]
+
* {{mIRC|/sockopen}}
* [[/sockpause command - mIRC|/sockpause]]
+
* {{mIRC|/sockpause}}
* [[/sockread command - mIRC|/sockread]]
+
* {{mIRC|/sockread}}
* [[/sockrename command - mIRC|/sockrename]]
+
* {{mIRC|/sockrename}}
* [[/sockudp command - mIRC|/sockudp]]
+
* {{mIRC|/sockudp}}
* [[/sockwrite command - mIRC|/sockwrite]]
+
* {{mIRC|/sockwrite}}
 
{{mIRC command list}}
 
{{mIRC command list}}
  
 
[[Category:MIRC commands]]
 
[[Category:MIRC commands]]

Revision as of 19:58, 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