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

(Created /sockpause command - mIRC)
 
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
The '''/sockpause''' command allows mIRC to pause or restart the socket when reading incoming data.
+
{{mirc title|/sockpause Command}}
 +
The '''/sockpause''' command allows mIRC to pause/restart the reading from winsock.
 +
 
 +
The packet are not lost, it's just that on sockread will stop triggering until you restart the reading.
  
 
== Synopsis ==
 
== Synopsis ==
Line 5: Line 8:
  
 
== Switches ==
 
== Switches ==
{| class="wikitable" style="line-height: 25px; margin-left: 75px;"
+
* '''r''' - Restarts the reading for the socket.
|-
 
! Switch !! Description
 
|-
 
| '''r''' || Restarts the connection for the socket.
 
|}
 
  
 
== Parameters ==
 
== Parameters ==
{| class="wikitable" style="line-height: 25px; margin-left: 75px;"
+
* '''<name>''' - The name of the socket to reference.
|-
+
 
! Parameter !! Description
 
|-
 
| '''<name>''' || The name of the socket to reference.
 
|}
 
  
 
== Example ==
 
== Example ==
Line 25: Line 19:
  
 
== Compatibility ==
 
== Compatibility ==
Added: mIRC v5.3
+
{{mIRC compatibility|5.3}}
 
 
Added On: 13/12/97
 
  
 
== See Also ==
 
== See Also ==
 
* [[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}}
* [[/sockaccept command - mIRC|/sockaccept]]
+
* {{mIRC|/sockaccept}}
* [[/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}}
* [[/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}}
  
[[Category:mIRC commands]]
+
[[Category:mIRC commands|sockpause command - mIRC]]

Latest revision as of 19:03, 2 May 2023

The /sockpause command allows mIRC to pause/restart the reading from winsock.

The packet are not lost, it's just that on sockread will stop triggering until you restart the reading.

Synopsis[edit]

/sockpause [-r] <name>

Switches[edit]

  • r - Restarts the reading for the socket.

Parameters[edit]

  • <name> - The name of the socket to reference.


Example[edit]

Resume the incoming data reading for mySocket:

/sockpause -r mySocket

Compatibility[edit]

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[edit]

[Expand]
v · d · e mIRC commands list