Geeks Talk

Prepare for your Next Interview




Sockets in Java

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?...


Go Back   Geeks Talk > Software Development > Java

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 06-24-2006
Contributing Member
 
Join Date: May 2006
Posts: 66
Thanks: 1
Thanked 5 Times in 4 Posts
janelyn is on a distinguished road
Sockets in Java

Someone highlight on the sockets available in java and actually why are sockets used?
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-24-2006
Contributing Member
 
Join Date: May 2006
Posts: 84
Thanks: 0
Thanked 9 Times in 6 Posts
timmy is on a distinguished road
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.
Reply With Quote
  #3 (permalink)  
Old 06-24-2006
Contributing Member
 
Join Date: May 2006
Posts: 79
Thanks: 0
Thanked 5 Times in 4 Posts
fred is on a distinguished road
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.
Reply With Quote
  #4 (permalink)  
Old 07-26-2008
Junior Member
 
Join Date: Jul 2008
Location: Chennai
Posts: 4
Thanks: 0
Thanked 1 Time in 1 Post
mppandi is on a distinguished road
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.
Reply With Quote
Reply

  Geeks Talk > Software Development > Java


Thread Tools
Display Modes


Similar Threads

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


All times are GMT -4. The time now is 01:08 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved