Sockudp » History » Version 1
Per Amundsen, 02/10/2016 01:33 PM
1 | 1 | Per Amundsen | _Added in 2.3_ |
---|---|---|---|
2 | |||
3 | */sockudp [-bntkd] [bindip] <name> [port] <ipaddress> <port> [numbytes] [text|%var|&binvar]* |
||
4 | |||
5 | Opens a UDP connection to a remote ipaddress/port and sends a UDP packet. |
||
6 | |||
7 | *Switches* |
||
8 | |||
9 | -b - Indicates that you are specifying the numbytes value which is the number of bytes you want sent. |
||
10 | -n - Appends a [[$crlf]] to the line being sent if it is not a &binvar and if it does not already have a [[$crlf]]. |
||
11 | -t - Forces AdiIRC to send anything beginning with a *&* as normal text instead of interpreting it as a binary variable. |
||
12 | -k - Forces the socket to stay open, so it can receive UDP data. |
||
13 | -d - The specified IP address is the bind ip address. |
||
14 | |||
15 | *Parameters* |
||
16 | |||
17 | [bindip] - Bind ip to be used. |
||
18 | <name> - Socket connection name. |
||
19 | [port] - Bind port to be used. |
||
20 | <ipaddress> - Remote ipaddress to connect to. |
||
21 | <port> - Remote port to connect to. |
||
22 | [numbytes] - Number of bytes to send. (used with -b) |
||
23 | [text|%var|&binvar - Text, %variable or &binvar to send. |