On C# side i'm using System.Net.IPAddress
On C++ side i'm using UINT32
(the result of inet_addr
function)
In interface of C++-Cli wrapper what would be better to use?
I've tried to use UINT32
but I don't know how to convert System.Net.IPAddress
to proper UINT32
on C# side.