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 Client to client chat application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
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
Marshal

Joined: Mar 22, 2005
Posts: 41096
    
  44
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: http://aspose.com/file-tools
 
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