Urach Kürschner
2011-07-26 22:18:39 UTC
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
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