| Author |
Chat systems based on TCP & UDP
|
Vikram Mahadevan
Greenhorn
Joined: Oct 27, 2002
Posts: 1
|
|
Hi, I missed out a word "about", in my previous post, so I am correcting it now. I want to develop 2 chat systems, one based on TCP & the other based on UDP. I have heard that JAVA wud be great for this. But since I don't know much "about" either a chat system nor the JAVA APIs for such a system, can somebody give me some insights. Thanks a lot for your time.
|
Vikram
|
 |
Sri Nivas
Ranch Hand
Joined: Apr 18, 2001
Posts: 58
|
|
|
You do not need to repost to correct your message. Just use the edit icon.
|
 |
Raghav Mathur
Ranch Hand
Joined: Jan 12, 2001
Posts: 639
|
|
Originally posted by Vikram Mahadevan: Hi, I want to develop 2 chat systems, one based on TCP & the other based on UDP. I have heard that JAVA wud be great for this.
Hi vikram You may want to explore the java.net package for your purpose . Moreover you will have to explore the Socket and ServerSocket class in the java.net package to build a proper messaging chat system. By this way you can implement TCP. I don't know what do you want to build another application using UDP when Socket would solve the purpose. hope this helps
|
Raghav.
|
 |
Peter den Haan
author
Ranch Hand
Joined: Apr 20, 2000
Posts: 3252
|
|
Explore java.net.DatagramSocket for UDP. - Peter
|
 |
 |
|
|
subject: Chat systems based on TCP & UDP
|
|
|