1
2
3
4
5
6
7
8
9
try {
this.channel = SocketChannel.open();
InetSocketAddress var3 = new InetSocketAddress(this.nets_ip, this.nets_port);
this.channel.connect(var3);
this.in = new DataInputStream(Channels.newInputStream(this.channel));
this.out = new DataOutputStream(Channels.newOutputStream(this.channel));
var1 = "connect ok";
var2 = true;
} catch (UnknownHostException var9) {
1 2 3 4 5 6 7 8
eval { # try # dein Code }; if ($@) { # catch # dein Fehlerbehandlungscode }