how do I check if a Client has connected
in
Core Library Questions
•
2 years ago
This did not work:
C = null;
C = new Client ( this, "0.0.0.0", 5402 );
if( C == null ) println( "Client failed" );
Any time I reference C.anything, I get java.lang.NullPointerException
William Estrada
Mt Umunhum, CA, USA
HTTP://64.124.13.3 ( Mt-Umunhum-Wireless.net )
Skype: MrUmunhum
C = null;
C = new Client ( this, "0.0.0.0", 5402 );
if( C == null ) println( "Client failed" );
Any time I reference C.anything, I get java.lang.NullPointerException
William Estrada
Mt Umunhum, CA, USA
HTTP://64.124.13.3 ( Mt-Umunhum-Wireless.net )
Skype: MrUmunhum
2