[Boost.Asio] Watching over a socket descriptor

18 Nov
2006
18 Nov
'06
5:59 p.m.
I have an external communications library (Linux), 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)? -- Memfis
6672
Age (days ago)
6672
Last active (days ago)
0 comments
1 participants
participants (1)
-
Memfis