-
WikiChip
WikiChip
-
Architectures
Popular x86
-
Intel
- Client
- Server
- Big Cores
- Small Cores
-
AMD
Popular ARM
-
ARM
- Server
- Big
- Little
-
Cavium
-
Samsung
-
-
Chips
Popular Families
-
Ampere
-
Apple
-
Cavium
-
HiSilicon
-
MediaTek
-
NXP
-
Qualcomm
-
Renesas
-
Samsung
-
From WikiChip
mirc/commands/sockwrite
< mirc | commands
Revision as of 13:36, 5 July 2014 by 83.204.195.134 (talk) (Created page with "The '''/sockwrite command''' allows you to send data to a TCP socket connection previously opened with /sockopen (See TCP Sockets - mIRC|TCP sockets...")
The /sockwrite command allows you to send data to a TCP socket connection previously opened with /sockopen (See TCP sockets).
Note: if /sockwrite fails, it sets $sock().wserr to the error value, and triggers on sockwrite with $sockerr set etc.
Synopsis
/sockudp -bnt <name> [numbytes] <text|%var|&binvar>
Switches
- -b - Indicates that you are specifying the numbytes value which is the number of bytes you want send, the full line is sent otherwise
- -n - Appens a $crlf to the line being sent if it's not a &binvar or if does not already end with a $crlf
- -t - Forces mIRC to send anything beginning with a & as plain text
Parameters
- <name> - The sockname name.
- [numbytes] - If -b has been specified, indicates the number of bytes you want to send.
- <text|%var|&binvar> - The message you want to send, can be a binary variable.
Example
Compatibility
Added: mIRC v5.3
Added On: 13/12/97
Note: Individual switches were not taken into consideration.
See also
[Expand]