Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

cpp-server-tcpecho

TCP echoサーバーの実装です。SOLID Sockets APIを使用してTCPポート7777でリッスンし、受信したデータを返します。

PowerShell:
PS> .\Test-Tcp-Echo-Server.ps1 192.168.1.23 7777

POSIX shell + Socat:
$ echo test | socat - tcp:192.168.1.23:7777

主要なコードはcpp-server-tcpecho/main.cppにあります。