By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,542 Members | 1,097 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,542 IT Pros & Developers. It's quick & easy.

Stranged Server

P: n/a
Hi all,

I got a weird problem.

I have a small TCP server waiting for connection.
A client connects and sends data, and shuts down.
Then the server goes back to listening for a new connection,,
but as soon as the next connection is established the
first line of data read is always "null". Why???

I am using a PrintWriter for sending data
and BufferedReader.readLine for reading data.

Plz help A.S.A.P
Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.