c ++套接字库 [英] c++ socket library

查看:240
本文介绍了c ++套接字库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述






我打算写一个TCP / IP服务器。我想知道是否

任何套接字库都可用于c ++,或者我必须在C中使用套接字

函数调用。

解决方案

ACE


" mthread" < rj **** @ gmail.com写信息

news:86 ************************** ******** @ t1g2000p ra.googlegroups.com ...


>




我打算写一个TCP / IP服务器。我想知道是否

任何套接字库都可用于c ++,或者我必须在C中使用套接字

函数调用。


mthreadaécrit:


>



我打算写一个TCP / IP服务器。我想知道是否

任何套接字库都可用于c ++,或者我必须在C中使用套接字

函数调用。



C ++中没有标准的套接字库。你可以google

独立库,或者你可以使用如下框架:ACE,Poco,gtk + ...


Michael


2007年12月12日星期三12:26:22 +0200,mthread< rj **** @ gmail.comwrote:




我打算写一个TCP / IP服务器。我想知道是否

任何套接字库可用于c ++,或者我必须使用套接字

函数调用C.



Boost.Asio(参见 http://asio.sourceforge.net/ ; 尚未成为Boost

发行版的一部分虽然已经被Boost接受了。


Boris




Hi,
I am planning to write a TCP/IP server. I would like to know if
any socket library is available for c++ or I have to use the socket
function calls in C.

解决方案

ACE

"mthread" <rj****@gmail.comwrote in message
news:86**********************************@t1g2000p ra.googlegroups.com...

>

Hi,
I am planning to write a TCP/IP server. I would like to know if
any socket library is available for c++ or I have to use the socket
function calls in C.


mthread a écrit :

>
Hi,
I am planning to write a TCP/IP server. I would like to know if
any socket library is available for c++ or I have to use the socket
function calls in C.

There is no standard socket library in C++. You can google for
standalone library or you can use a framework like: ACE, Poco, gtk+ ...

Michael


On Wed, 12 Dec 2007 12:26:22 +0200, mthread <rj****@gmail.comwrote:

Hi,
I am planning to write a TCP/IP server. I would like to know if
any socket library is available for c++ or I have to use the socket
function calls in C.

Boost.Asio (see http://asio.sourceforge.net/; not yet part of the Boost
distribution although it has been accepted to Boost already).

Boris


这篇关于c ++套接字库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆