Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

What is the difference between DatagramSocket and Socket????

807598May 27 2006 — edited May 27 2006
I have two separate programs to do with IP communications. One uses DatagramPacket and DatagramSocket whilst the other uses ServerSocket and Socket. What is the difference and which is more efficient to use?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 24 2006
Added on May 27 2006
1 comment
981 views