I have ac# dll that needs to send a quite complex object over the network to an unmanaged c++ process. I'm aware that there are a number of ways to do this but was wondering if anyone can recommend the best fit. Important points to note:
Any help would be much appreciated.
As far as I understand about your question, you might mean LAN or WLAN by "network". so, I suggest to use UDP/IP on both sides. and for "It is critical that the c# process is informed if data is not received by the c++ process", you need to handle it manually (eg via an acknowledge packet per receiving a packet or bunch of packets).
there are a lot of samples available over internet for UDP/IP unde 'socket programming': like one here: http://www.abc.se/~m6695/udp.html
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.