반응형
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
- HTTP 완벽 가이드
- 레벨 1
- dp
- dfs
- 백준
- 타입 챌린지
- 그래프
- Nestjs
- 문자열
- BFS
- ip
- 크롤링
- 가천대
- HTTP
- Algorithm
- 알고리즘
- 소켓
- 프로그래머스
- 프로그래머스 레벨 2
- typescript
- 타입스크립트
- 자바스크립트
- 수학
- 쉬운 문제
- javascript
- Crawling
- Node.js
- socket
- TCP
- type challenge
Archives
- Today
- Total
목록htonl (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