This week's giveaway is in the Groovy forum.
We're giving away four copies of Groovy Fundamentals video training course and have Ken Kousen on-line!
See this thread for details.
The moose likes Sockets and Internet Protocols and the fly likes Client to client chat application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Client to client chat application" Watch "Client to client chat application" New topic
Author

Client to client chat application

Salman Mushtaq
Greenhorn

Joined: Apr 22, 2013
Posts: 27

Hi everyone , i develop simple client to client chat application , but there will be problem when server is connect , then i run client code , it ask name as i enter name and click ok it will return null and terminates now what i can i do i cannot understand because of pressure .
Here is the code
Sever


Client


Waiting for response
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42956
    
  73
What does "it will return null" mean? What, exactly, is null, and what do you think it should be instead? TellTheDetails.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Client to client chat application