소켓을 써서 네트워크 프로그래밍을 하려고 하는데
제가 쓰는 언어가 C++ 이어서요.
C library의 socket 관련 부분들을 class로 만들어 놓은것들은
어디서 찾을수 있을까요?
c++에서 소켓을 만드신다구요.. 에궁..
c++언어 자체만으로는 소켓을 만들 수 없네요.. standard에 정의가 되어 있지 않습니다.
왜냐하면 socket은 os에 달라지게 되니깐요.. 하지만.. 많은 분들께서 노력하셔가지고.. c++ stream과 같이 사용할 수 있도록 만든 클래스들이 많이 있습니다.
http//www.sourceforge.net에서 코드 모아놓은 곳이 있는데 여기에 참고 하셔도 되구요. 아님.. http//haje.kaist.ac.kr/~gim/socketstream/ 참고하셔도 됩니다. 그럼..
GNU프로젝트중 하나 입니다. Socket 을 위한 클래스 모음뿐만 아니라, XML, 쓰레드 관련, 매우 유용한 클래스들 까지 포함하고 있는 라이브러리 입니다. LInux/Unix 는 물론 Win32 용 라이브러리 까지 도 제공됩니다. www.gnu.org 에서 프로젝트 쪽 살펴보시기바랍니다.
텍스트 포맷에 대한 자세한 정보
<code>
<blockcode>
<apache>
<applescript>
<autoconf>
<awk>
<bash>
<c>
<cpp>
<css>
<diff>
<drupal5>
<drupal6>
<gdb>
<html>
<html5>
<java>
<javascript>
<ldif>
<lua>
<make>
<mysql>
<perl>
<perl6>
<php>
<pgsql>
<proftpd>
<python>
<reg>
<spec>
<ruby>
<foo>
[foo]
Re: C++로 소켓 프로그래밍을 할때^^;
c++에서 소켓을 만드신다구요..
에궁..
c++언어 자체만으로는 소켓을 만들 수 없네요..
standard에 정의가 되어 있지 않습니다.
왜냐하면 socket은 os에 달라지게 되니깐요..
하지만.. 많은 분들께서 노력하셔가지고.. c++ stream과 같이 사용할 수
있도록 만든 클래스들이 많이 있습니다.
http//www.sourceforge.net에서 코드 모아놓은 곳이 있는데 여기에 참고
하셔도 되구요.
아님.. http//haje.kaist.ac.kr/~gim/socketstream/
참고하셔도 됩니다. 그럼..
Re: Common c++ 이 있습니다.
GNU프로젝트중 하나 입니다.
Socket 을 위한 클래스 모음뿐만 아니라,
XML, 쓰레드 관련, 매우 유용한 클래스들 까지
포함하고 있는 라이브러리 입니다.
LInux/Unix 는 물론 Win32 용 라이브러리 까지
도 제공됩니다.
www.gnu.org 에서 프로젝트 쪽 살펴보시기바랍니다.
댓글 달기