convert IP port number in host byte order to the IP port number in network byte order.
[DllImport("Ws2_32.dll")]
public static extern ushort htons(ushort hostshort);
Declare Function htons Lib "ws2_32.dll" (TODO) As TODO
None.
Do you know one? Please contribute it!
None.
Please add some!
Please add some!