i don't think it will return null, until the socket gets closed
not for sure if this is the terminator, but did you check for "." (period) with crlf?
also check -1
Last edited by dickersonka; Nov 17th, 2008 at 3:51 pm.
Reputation Points: 133
Solved Threads: 141
Veteran Poster
Offline 1,162 posts
since Aug 2008