Does cppnetlib support stream based I/O?

52 views
Skip to first unread message

sanikumbh

unread,
May 15, 2012, 12:33:35 PM5/15/12
to cpp-n...@googlegroups.com
Hi,

Based on my limited experience with cppnetlib, using std:string as the container is the only way to transfer data between client and server (please correct me if I am wrong). Is there a way to do stream based I/O? If yes, can someone please point me in the right direction? If no, are there any future plans to support this?

Thanks
Sachin

Dean Michael Berris

unread,
May 15, 2012, 11:55:49 PM5/15/12
to cpp-n...@googlegroups.com
On Wed, May 16, 2012 at 2:33 AM, sanikumbh <sani...@gmail.com> wrote:
> Hi,
>
> Based on my limited experience with cppnetlib, using std:string as the
> container is the only way to transfer data between client and server (please
> correct me if I am wrong).

If you're using the client, yes. If you're using the asynchronous
server then that's something else.

> Is there a way to do stream based I/O? If yes,
> can someone please point me in the right direction? If no, are there any
> future plans to support this?
>

Unfortunately, not stream-based I/O but definitely asynchronous I/O
using generic function objects. We're already working on getting this
supported easily.

Cheers

--
Dean Michael Berris
Technical Solutions Engineer
Google
Reply all
Reply to author
Forward
0 new messages