wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android 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.
 
wood burning stoves
 
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...