I'm not sure about the network, but most C ++ code can be used 100% in Xamarin.
If this works, you cannot be sure that it works correctly in every situation on iOS. We had the same problem using UDP sockets for VOIP (C #). It will work most of the time, but in the case of VOIP, you need to use iOS sockets so that you can set them to special mode so that they do not close when the application is paused.
So, it depends on what you want to do and how the C ++ code is written. I'm not sure if you can use regular unix sockets when using C ++ on iOS, but this should be the only problem when using it.
Just checked: Does Mac / IOS use the same sys / socket.h as the Linux kernel?
I think if your library uses BSD sockets, everything should be fine.
source share