joe cd79c7aa2d fix: support client-side reconn dynamically il y a 4 ans
..
tcpws cd79c7aa2d fix: support client-side reconn dynamically il y a 4 ans
Makefile b3e064aa76 add sample code il y a 4 ans
README.md b3e064aa76 add sample code il y a 4 ans

README.md

Sample

sample code for tcp&websocket

Usage

Compile

# build
$make
# see usage
$./sample

Test TCP

# first console window
$./sample tcpserver

# then open another console window
$./sample tcpclient

Test Websocket

# first console window
$./sample wsserver

# then open another console window
$./sample wsclient

Notice: TCP using the same port as Websocket server.