A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Developer Certification (SCJD/OCMJD)
can someone explain me? (ServerSocket)
Julio Cesar Marques
Joined: Mar 21, 2009
Apr 20, 2009 06:54:03
ServerSocket theServer = new ServerSocket(port);
Socket client = theServer.accept();
--> Inner Thread...
client.getInputStream() IS NULL!
client.getOutputStream() IS NULL!
Why? I Like to understand whats happens?
Why the Object client inner the thread is not null BUT your streams are?
Julio Cesar Lopes Marques
Sun Certified Java Developer 5, Sun Certified Java Programmer 5
It is sorta covered in the
JavaRanch Style Guide
subject: can someone explain me? (ServerSocket)
Runtime exec...and br hanging
Chatting Applet Problem
socket data compression problem
button hang in threaded server
IO Streams and sockets
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014