Ganesa
12-02-2010, 03:49 AM
Hi all,
I'm connecting to an IP gateway. This gateway was waorking in TCP Server mode. Then I used:
var socket = new TCPSocket(false);
socket.connect(ip,port,time);
and everything was working great. Now I changed mode of gateway to UDP Active. I need to open a socket (like this in TCP) for it but I don't know how to do it on UDP. I can't find anything like UDPSocket().
Can someone help me and say how can I do this? What I need to use?
I'm connecting to an IP gateway. This gateway was waorking in TCP Server mode. Then I used:
var socket = new TCPSocket(false);
socket.connect(ip,port,time);
and everything was working great. Now I changed mode of gateway to UDP Active. I need to open a socket (like this in TCP) for it but I don't know how to do it on UDP. I can't find anything like UDPSocket().
Can someone help me and say how can I do this? What I need to use?