This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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.
 
jQuery in Action, 2nd edition
 
subject: Socket Communication. Read single line by line from Client side.
 
Similar Threads
what is the prob !!!
I am getting java.net.UnknownHostException
client / server (communication problem...)
two server and many client....
not able to connect...