logo       

Re: Watching over a socket descriptor: msg#00014

lib.boost.asio.user

Subject: Re: Watching over a socket descriptor

Hi,

Memfis <memfis+news-hTu+dy7izhw@xxxxxxxxxxxxxxxx> wrote:
> I have an external communications library, which exposes a set
> of high-level APIs and a socket descriptor for me to watch
> over (as in select()). If there is something waiting on the
> socket, I am to call a function from the library that will
> read the data, construct some structures from it and return
> them. My question is if and how can I integrate this into
> boost::asio, so that I could handle connections created using
> boost::asio and the external library with the same code (to
> the point of actually reading some data)?

Take a look at this earlier message on this mailing list:

http://sourceforge.net/mailarchive/forum.php?thread_id=30857247&forum_id=42787

Cheers,
Chris



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise