https://github.com/devlights/tcpsendrecv
C# で Tcp の Send と Recv をやり取りするサンプル
https://github.com/devlights/tcpsendrecv
Last synced: about 2 months ago
JSON representation
C# で Tcp の Send と Recv をやり取りするサンプル
- Host: GitHub
- URL: https://github.com/devlights/tcpsendrecv
- Owner: devlights
- License: mit
- Created: 2020-04-13T13:38:23.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-13T14:52:13.000Z (about 5 years ago)
- Last Synced: 2025-02-12T08:58:40.504Z (4 months ago)
- Language: C#
- Size: 10.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TcpSendRecv
C# で Tcp の Send と Recv をやり取りするサンプル## 概要
### Server
- 起動したら 127.0.0.1:50001 で Listen 開始
- Accept したら、クライアントからの受信を受付
- 受信したら、ランダムミリ秒待機後に返信を返す
- コンソールで quit 入力したらサーバ終了### Client
- 起動したら 127.0.0.1:50001 に 接続開始
- 接続したら、サーバへデータをランダムミリ秒待機しながら周期送信
- サーバからデータを受信したらコンソールへ表示
- コンソールで quit 入力したら切断