Discussion:
Examples for receiving without static buffer-size in ACE
(too old to reply)
Urach Kürschner
2011-07-26 22:18:39 UTC
Permalink
hello group
I try to send and receive a a xml-file of unknown size with the
ACE_SOCK_Stream class.
All the examples I found in the books and in the ace-directories only
show the use of recv methods to get the data in an buffer of fixed
predefined size. (sorry, if I missed something.)
The code should work for win32-systems too, so I am not able to use
the adapterclass for IOStream.
Is there a example for fetching charachter-data in a stream-like
behavior online?
Or is there an even better solution to the problem of the unknown data
size?
kind regards Urach
Urach Kürschner
2011-07-27 00:51:00 UTC
Permalink
Post by Urach Kürschner
hello group
I try to send and receive a a xml-file of unknown size with the
ACE_SOCK_Stream class.
All the examples I found in the books and in the ace-directories only
show the use of recv methods to get the data in an buffer of fixed
predefined size. (sorry, if I missed something.)
The code should work for win32-systems too, so I am not able to use
the adapterclass for IOStream.
Is there a example for fetching charachter-data in a stream-like
behavior online?
Or is there an even better solution to the problem of the unknown data
size?
kind regards Urach
Sorry, I realized that I posted in the wrong group. This should belong
to comp.soft-sys.ace.

Loading...