Skip to content

Simple TCP server using both Go standard net package and raw implementation directly via syscalls

Notifications You must be signed in to change notification settings

unkn0wn-root/go-tcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple TCP Server

Made two implementations:

  1. A standard implementation using Go's net package
  2. A raw implementation using system calls

Usage

Running the Standard Server

make run-standard

Running the Raw TCP Server

make run-custom

Testing the Servers

You can test either server using netcat:

nc localhost 8080

Type any message and press enter. The server will echo back your message. Type "quit" to close the connection.

About

Simple TCP server using both Go standard net package and raw implementation directly via syscalls

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published