Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 1.12 KB

README.md

File metadata and controls

27 lines (20 loc) · 1.12 KB

Group Chat (MulticastSocket)

Program Description

It's a chat application that uses MulticastSocket to allow users to speak with one another while saving time with a simple UI. A MulticastSocket is a (UDP) DatagramSocket with the ability to connect to "groups" of other multicast hosts on the internet.

Basic Input taken

Run the program using two command line arguments:

  1. Class D IP address
  2. standard UDP port number.

Command Line Preview:

  • Enter your name: (Your name)
  • Start typing messages: Before sending messages, open all terminals; otherwise, messages sent before beginning the terminal would be lost (since there is no facility of buffer incorporated to store the messages.)
  • Type exit to close the socket.

Image Preview:

projh

References:

Documentation Help