This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Sockets and Internet Protocols and the fly likes parsing incoming socket stream. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "parsing incoming socket stream." Watch "parsing incoming socket stream." New topic

parsing incoming socket stream.

Zaeed McColin
Ranch Hand

Joined: Jan 13, 2009
Posts: 90
hi dudes, I'm working on a very simple application which uses RMI, ORB and Http for communication with other guys. RMI and orb is okay but I have problem with http, I try to listen http1.x messages and parse them but system hang, (browser waits,....wait,...,wait,... still is waiting....) when end of the stream of incoming socket reached. it drives me crazy, any help, any exist lib, anything to fix this problem...
note: unfortunately, I just tested this guy with windows xp sp2 and 2003 (JDK1.6.0.16).
here is my code snipped which drives me crazy.

ba Sepas

Open source
Consider Paul's rocket mass heater.
subject: parsing incoming socket stream.
It's not a secret anymore!