public static extern SocketError WSAConnect(IntPtr socket, ref SocketAddressIn address, int addressSize, IntPtr inBuffer, IntPtr outBuffer, IntPtr sQos, IntPtr gQos);
public static extern SocketError Bind(IntPtr socket, ref SocketAddressIn address, int addressSize);