Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 98021
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T00:06:59+00:00 2026-05-11T00:06:59+00:00

I want to develop simple Serverless LAN Chat program just for fun. How can

  • 0

I want to develop simple Serverless LAN Chat program just for fun. How can I do this ? What type Architecture should I use?

Last year I have worked on TCP,UDP Client/ Server application Project.It was simple (Server listens to certain port/socket and Client connect to server’s port etc..) But I have no idea about how to develop ‘Serverless’ LAN Chat program. How can I do this? UDP,TCP,Multicast,Broadcast? or Should program behave like both server and client?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T00:07:00+00:00Added an answer on May 11, 2026 at 12:07 am

    The simplest way would be to use UDP and simply broadcast your messages all over the network. A little bit more advanced version would be to only use the broadcast to discover other nodes in the network.

    • Every node maintains a list of known peers.
    • Messages are sent with TCP to all known peers.
    • When a node starts up, it sends out an UDP broadcast to discover other nodes.
    • When a node receives a discovery broadcast, it sends ‘itself’ to the source of the broadcast, in order to make it self known. The receiving node adds the broadcaster to it’s own list of known peers.
    • When a node drops out of the network, it sends another broadcast in order to inform the remaining nodes that they should remove the dropped client from their list.

    You would also have to consider handling the dropping out of nodes without them informing the rest of the network.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 88k
  • Answers 88k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Can use the static method FindAll of the Array class:… May 11, 2026 at 5:44 pm
  • Editorial Team
    Editorial Team added an answer On a journaling filesystem like NTFS there is actually no… May 11, 2026 at 5:44 pm
  • Editorial Team
    Editorial Team added an answer If that code ever complied, Jeff probably had an extension… May 11, 2026 at 5:44 pm

Related Questions

Good day folks, I'm in a need of a bit of guidance. Basically, I'm
I want to develop a very simple 2D game in Python. Pygame is the
I want to transfer data between a smart phone app and a website. What
I have a quick little application and wanted to give a try to develop

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.