Skip to content

A simple TCP-based chat server for real-time communication. Enables multiple users to connect and exchange messages within a local network or over the internet when hosted publicly.

Notifications You must be signed in to change notification settings

Shoetan/broadcast-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TCP SERVER

A simple TCP-based server for local communication. Allows multiple clients to connect and exchange messages within a local network or over the internet if hosted 😂

Demo

A simple demo showing the operations of the TCP server

Prerequisites

  • Go (version 1.22 or later recommended)

Getting Started

  • Clone repository [email protected]:Shoetan/broadcast-server.git
  • cd into the cloned repository

Commands

  • Start the TCP server on a local address go run main.go start server
  • Connect a client to the TCP server go run main.go connect server
  • Stop the TCP server ctrl + c

Sub commands

Below are the commands you can run after connecting to the TCP server.

  • Send a message to the TCP server 1 <message>
  • Disconnect from the TCP server 2

About

A simple TCP-based chat server for real-time communication. Enables multiple users to connect and exchange messages within a local network or over the internet when hosted publicly.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages