Skip to content

akgarhwal/Simple-TCP-Server-in-Go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple-TCP-Server-in-Go=

Start TCP Server

go run main.go

Start new terminal and send http request to server

curl http://localhost:8080/\?name\=Abhinesh 

Simple Example

Server with only one thread

Single Thread Example

Server with multiple threads

Multiple Thread Example

Improvements

  • Support for Worker Pool since server will not have enough resources.
  • Support for time out if request is taking more time than defined threshold

Releases

No releases published

Packages

 
 
 

Languages