M
Mitschu
Hi
Socket skt = new Socket();
try {
skt.connect (new InetSocketAddress( sIP, iPort), iTimeOut);
} catch (Exception e) {
e.printStackTrace();
}
Throws an exception if the device (sIP) isn't reachable, e.g. wrong
network/ethernet connection.
The socket has to be connected every 500ms.
If eg after a power failure, the device is switched of. There is no
exception.
Does someone know this strange behavior?
Thanks
Michael
Socket skt = new Socket();
try {
skt.connect (new InetSocketAddress( sIP, iPort), iTimeOut);
} catch (Exception e) {
e.printStackTrace();
}
Throws an exception if the device (sIP) isn't reachable, e.g. wrong
network/ethernet connection.
The socket has to be connected every 500ms.
If eg after a power failure, the device is switched of. There is no
exception.
Does someone know this strange behavior?
Thanks
Michael