Skip to content

samTime101/TCP-server-in-C

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Author : samTime101
File:server.c
Date:Aug 14,2024

TCP-server-in-C

A simple tcp server in C

Usage and Test

In demo i used Netcat , i think it was already in my Linux system

U can also use Telnet

alternatively u can also use TCP clients tester in PC

Also u can test via your mobile TCP App android

or U can write your own TCP client in C

update

I have added client.c code

To compile gcc client.c -o client

then

./client <ip_addr> <port>

Demo

Screencast.from.2024-08-14.12-58-14.webm

Commands

  • exit for exitting chat room
  • help-info for printing basic info of program
  • help-cc for printing active client count

About

A simple tcp server in C

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published