This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Client to client chat application" Watch "Client to client chat application" New topic

Client to client chat application

Salman Mushtaq

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


Waiting for response
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41124
What does "it will return null" mean? What, exactly, is null, and what do you think it should be instead? TellTheDetails.

Ping & DNS - my free Android networking tools app
I agree. Here's the link:
subject: Client to client chat application
Similar Threads
Socket Programming over the Internet
FTP Socket Programming
Send a String to Server and server send it somewhere on network
Problem append JtextArea
Some problem with threads