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

  • Home
  • SEARCH
  • 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 63k
  • Answers 63k
  • 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
  • added an answer You can try using the Unicode underline combining character U+0332.… May 11, 2026 at 10:34 am
  • added an answer You can't cut it all the way down to just… May 11, 2026 at 10:34 am
  • added an answer Look for Async Filter Sample in the DirectShow SDK, It… May 11, 2026 at 10:34 am

Related Questions

I want to develop simple Serverless LAN Chat program just for fun. How can
I want to develop a very simple 2D game in Python. Pygame is the
I want to develop a windows application. If I use native C++ and MFC
I want to develop Java apps, real quick, what IDE should I choose?
I want to develop a mobile web application using asp.net 3.5 that can be
I want to develop an iPhone application using the utility template, where the flip
I want to develop ASP.NET C# based MMOG (Massively multiplayer online game). I would
I want to find a way to develop database projects quickly in Visual Studio.
I want our team to develop against local instances of an Oracle database. With
If you want to develop against WordPress (i.e., have a local instance running on

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.