
On Tuesday 03 November 2009 04:37:08 pm Ramon F Herrera wrote:
Hello,
I have successfully implemented clients and servers, both in the Windows side and the Linux side. So far, the Windows client passes a set of parameters and the servers returns some text which is displayed on the client's screen. That part is working perfectly.
My next challenge is to upload a whole file(s) from the client to the server and would like hear any tips, caveats from experienced ASIO users.
Thanks to everyone for sharing their expertise.
Regards,
-Ramon
Hello, It would be interesting to know *how* you exactly transfer the information at hand and then build a solution from there. Anyways, I use ASIO in conjunction with boost::serialization. There is an example on the ASIO website. I found that combination extremely handy. With this approach one could easily transfer any kind of data, for example in a std::vector. hth, Benjamin