aspose file tools*
The moose likes Sockets and Internet Protocols and the fly likes Socket and serversocket difference? 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 "Socket and serversocket difference?" Watch "Socket and serversocket difference?" New topic
Author

Socket and serversocket difference?

Akhilesh Trivedi
Ranch Hand

Joined: Jun 22, 2005
Posts: 1558
what is the difference between socket and serversocket?


Keep Smiling Always — My life is smoother when running silent. -paul
[FAQs] [Certification Guides] [The Linux Documentation Project]
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8997
    
    9

Bookmark the Java API Documentation. Useful resource for this kind of knowledge:

java.net.ServerSocket
This class implements server sockets. A server socket waits for requests to come in over the network. It performs some operation based on that request, and then possibly returns a result to the requester.


java.net.Socket
This class implements client sockets (also called just "sockets"). A socket is an endpoint for communication between two machines.


[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Socket and serversocket difference?