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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 1511
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: 8707
    
    6

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.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Socket and serversocket difference?
 
Similar Threads
Port numbers
Winsock or related object...?
Socket/TCPIP help required
Doubt in ServerSocket and Socket
Socket connection problem, need a hand..