aspose file tools*
The moose likes Sockets and Internet Protocols and the fly likes Socket Connection.. Was working, now it's not?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Socket Connection.. Was working, now it Watch "Socket Connection.. Was working, now it New topic
Author

Socket Connection.. Was working, now it's not??

Brad Walton
Ranch Hand

Joined: Feb 16, 2008
Posts: 35
I had a working socket connection just yesterday, and now it's not working, but nothing has changed?! Here is the code:



The result is 10 immediate 'nulls' and the socket is closed. Any idea why the readLine is returning null? Isn't that supposed to wait on a line of data? I am perplexed on this and have been looking at it too long now. I need some fresh eyes on it. Thanks for any help.
[ February 25, 2008: Message edited by: Brad Walton ]
Brad Walton
Ranch Hand

Joined: Feb 16, 2008
Posts: 35
Nevermind.. there was a configuration error in the application I was connecting to. Problem fixed.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Socket Connection.. Was working, now it's not??