https://github.com/hhejo/tcp-ip-csharp
Implementing TCP/IP Servers Using C#
https://github.com/hhejo/tcp-ip-csharp
csharp
Last synced: 3 months ago
JSON representation
Implementing TCP/IP Servers Using C#
- Host: GitHub
- URL: https://github.com/hhejo/tcp-ip-csharp
- Owner: hhejo
- Created: 2024-11-01T00:33:25.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2024-11-03T13:26:44.000Z (8 months ago)
- Last Synced: 2025-02-08T02:11:12.730Z (5 months ago)
- Topics: csharp
- Language: C#
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TCP/IP with C#
TCP 기반의 서버 프로그램은 다음과 같은 순서로 구현됨
```
Socket(): 소켓 생성Bind(): 소켓 주소 할당
Listen(): 연결 요청 대기상태
Accept(): 연결 허용
Read()/Write(): 데이터 송·수신
Close(): 연결 종료
```클라이언트의 기본적인 함수 호출 순서
```
socket(): 소켓 생성connect(): 연결 요청
read()/write(): 데이터 송·수신
close(): 연결 종료
```