반응형
Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 쉬운 문제
- 크롤링
- 타입 챌린지
- ip
- 프로그래머스 레벨 2
- 수학
- 알고리즘
- HTTP 완벽 가이드
- 백준
- TCP
- socket
- 그래프
- 문자열
- 프로그래머스
- dp
- Algorithm
- 자바스크립트
- Node.js
- dfs
- type challenge
- Crawling
- HTTP
- typescript
- Nestjs
- 레벨 1
- javascript
- 소켓
- 타입스크립트
- BFS
- 가천대
Archives
- Today
- Total
목록htons (1)
kakasoo
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 #include #include void ErrorHandling(char* message); int main(int argc, char argv[]) { WSADATA wsaData; unsigned short host_port = 0x1234; unsigned short net_port = htons(host_port); // h to n (short), 호스트에서 네트워크로, short 형. unsigned long host_addr = 0x12345678; unsigned long net_addr = htonl(host_addr); // h to n (long), 호스트에서 네트워..
프로그래밍/네트워크
2020. 7. 15. 14:23