udp.send("<IP>",<Port>,"<Data>")
Sends data to the UDP port of the specified IP address.
Parameters
<IP>
Specify the IP address of the client system.
<Port>
Specify the UDP Port of the client system in which the data has to be send.
<Data>
Specify the data to be send.
Return Value
Returns 1 if the data is send to the port of the specified IP, on failure it returns 0.
Example
.......
..........
udp.init(3501)
$data = udp.send("192.168.14.2",3501,"Testing.....1")
msgbox($data)
sleep 100
...........
.........
- Sends the data "Testing...1" to the specified IP Address i.e., 192.168.14.2, port 3501.