Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/nydan/tcp_udp

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/nydan/tcp_udp

  • v0.0.0-20200629112636-49a930f2055c
  • Source
  • Go
  • Socket score

Version published
Created
Source

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.

FAQs

Package last updated on 29 Jun 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc