File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Sockets and Internet Protocols and the fly likes Socket Communication. Read single line by line from Client side. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Socket Communication. Read single line by line from Client side." Watch "Socket Communication. Read single line by line from Client side." New topic
Author

Socket Communication. Read single line by line from Client side.

Srivatsa Sri
Greenhorn

Joined: Aug 28, 2012
Posts: 4

Hi everybody,

I am developing a console based login. But i am struck with the following error in code here. I will explain it briefly : As said earlier, a console based login which will check the user name, then password. I am not able to send it single line by line, first username and next password. My code :

Server.java


Client.java


Please help me with this.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Socket Communication. Read single line by line from Client side.