Prepare for your Next Interview
This is a discussion on Sockets in Java within the Java forums, part of the Software Development category; Someone highlight on the sockets available in java and actually why are sockets used?...
|
|||
|
Re: Sockets in Java
Sockets are used for data communication and they use protocol for doing this. This is the general view and usage of sockets and for achieving this each programming language uses some features, functions or techniques.
|
|
|||
|
Re: Sockets in Java
There are two kinds of sockets in Java one for handling server and another for client. They are namely:
ServerSocket class is used by the server to wait for the client and connects to the server by Using Socket Class. |
|
|||
|
Re: Sockets in Java
hi,
Sockets are divided into 2 types, (Hardware,Software ports). we can't see software port. Every application is using Specific port. we cant'use Reserved port, that's already assigned. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Java Interview Questions Ebook Download | admin | Downloads | 195 | 10-15-2008 06:13 AM |
| Java online resource documentation for J2SE 1.4.2 | FantaGuy | Java | 1 | 06-19-2006 05:25 AM |
| WebSphere V5.0 : Java Development - Use task view | Lokesh M | Web Tools | 0 | 06-10-2006 09:06 AM |
| WebSphere V5.0 : Create Java projects | Lokesh M | Web Tools | 0 | 05-29-2006 11:21 AM |
| Using Integrated Development Environment | Farshutwan | Java | 9 | 05-26-2006 10:01 PM |