sayHello/

directory
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2024 License: MIT

README

sayHello shows how client communicates with server. This example provides tcp, udp, and kcp server side examples.But only tcp client side are provided.Udp and kcp client sides are in /examples/sayHelloUDP/client/ and /examples/sayHelloKCP/client/

start server and client

server side(tcp, udp and kcp):

cd server

go run main.go

tcp client:

cd client

go run main.go

udp

cd example/sayHelloUDP/client

go run main.go

kcp

cd example/sayHelloKCP/client

go run main.go

ATTENTION

/examples/sayHello will changed with developing to test new function, some old tips will remain as note.

Directories

Path Synopsis
Package client executable file
Package client executable file
pb
Package server executable file
Package server executable file
pb

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL