aspose file tools
The moose likes Sockets and Internet Protocols and the fly likes Chat systems based on TCP & UDP Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Reply Bookmark "Chat systems based on TCP & UDP" Watch "Chat systems based on TCP & UDP" New topic
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
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Chat systems based on TCP & UDP
 
Similar Threads
Help Help! Feel confused to Sun's specification? about http and TCP, UDP
SOCKET
TCP or UDP
udp packet to tcp packet conversion
Jboss cluster configuration using UDP