티스토리 뷰
일단 Modern C++에 대한 소켓 라이브러리를 직접 만들다가,
아마 누가 구현한 게 Github에 있지 않을까란 생각으로 찾아보았다.
Simple, modern, C++ socket library.
오 찾았다. 그런데 아쉬운 건 http/https 와 같은 프로토콜 단계까지 있으면 좋으련만아마도 TCP/IP 단의 소켓 구현까지만 있는 것 같다. 저런 건 curl을 써야 할 듯 curl을 처음부터 쓰면 되지 않느냐 하겠지만 curl은 랩핑이 많이 되어 있어서 소켓 자체를그대로 쓰기엔 좋지 않다.
아래의 설명을 보면 알 수 있다.
---------------------------------------------------------------------------------------------------------------------------------
curl is a tool to transfer data from or to a server, using one of the supported protocols (DICT, FILE, FTP, FTPS, GOPHER, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET and TFTP). The command is designed to work without user interaction.
---------------------------------------------------------------------------------------------------------------------------------
https://github.com/fpagliughi/sockpp
fpagliughi/sockpp
Modern C++ socket library. Contribute to fpagliughi/sockpp development by creating an account on GitHub.
github.com
파이썬으로도 라이브러리가 있다. 역시 파이썬
https://pypi.org/project/SockServer/
SockServer
Socket Server with ThreadPool
pypi.org
이 외에도 굳이 책이 아니라 tcp/ip 소켓 통신에 대해서, raw api에 대해서 잘 정리되어 있는
웹 링크를 가져온다.
https://www.bogotobogo.com/cplusplus/sockets_server_client.php
C++ Tutorial: Sockets - Server & Client - 2020
Ph.D. / Golden Gate Ave, San Francisco / Seoul National Univ / Carnegie Mellon / UC Berkeley / DevOps / Deep Learning / Visualization
www.bogotobogo.com
친절하게도 우리의 스택오버플로 친구들이
소켓 관련된, 네트워크 관련된 무수한 친구들을 소개시켜주었다. 그러므로 한번
다 찾아서 보고 코드를 확인해보자.
https://stackoverflow.com/questions/118945/best-c-c-network-library
Best C/C++ Network Library
I haven't done work in C/C++ for a little bit and was just wondering what people's favorite cross platform libraries are to use. I'm looking for something that is a good quick and dirty library as
stackoverflow.com
'일반 CS > Network' 카테고리의 다른 글
와이어샤크 필터링 (1) 필터링 수집 법 (0) | 2021.06.17 |
---|
- Total
- Today
- Yesterday
- 필터링
- 청약
- 세대원
- 와이어샤크
- procmon
- procmon활용
- 미즈노남보쿠
- 절제의성공학
- Injection
- 망할비주얼스튜디오코드파이썬쓸때는좋더니만
- 구조체 #클래스
- 세대주
- 세대주분리
- 가점제
- 파이썬 #이벤트로그 #크롤링
- 주택청약
- procmoninjection
- 청약방법
- 추첨제
- 비주얼스튜디오코드C/C++
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |