public class SocketUdpClient extends SocketTcpIpBase
Constructor and Description |
---|
SocketUdpClient() |
Modifier and Type | Method and Description |
---|---|
boolean |
close() |
boolean |
connect(java.lang.String ipString,
int port) |
byte[] |
receive() |
byte[] |
receiveOnThread() |
byte[] |
receiveOnThread(int timeOut) |
boolean |
send(byte[] data) |
boolean |
sendOnThread(byte[] data) |
public boolean connect(java.lang.String ipString, int port)
connect
in class SocketTcpIpBase
public boolean close()
close
in class SocketTcpIpBase
public boolean sendOnThread(byte[] data)
sendOnThread
in class SocketTcpIpBase
public byte[] receiveOnThread()
receiveOnThread
in class SocketTcpIpBase
public byte[] receiveOnThread(int timeOut)
receiveOnThread
in class SocketTcpIpBase
public byte[] receive()
receive
in class SocketTcpIpBase
public boolean send(byte[] data)
send
in class SocketTcpIpBase