Skip to content

Nydan/tcp_udp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

TCP & UDP

This repository only for personal learning on how to create TCP and UDP client-server.

TCP

This folder containing example of creating tcp client and server.

For running the tcp server:

go run ./tcp/server.go port

For running the tcp client you can open a new terminal and run the code with this command:

go run ./tcp/client.go host:port

Once client and server is running you can start typing on the client session. Example:

client: hello
server: 2020-06-29T18:00:35+07:00

To stop the apps, just type STOP.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages