public static int SetSendTimeout(IntPtr socket, int timeout) { Debug.WriteLine("Set send timeout to " + timeout + " for " + socket.ToInt32()); int ret; return(m_netSocketInterface.SetSendTimeout(socket, timeout, out ret)); // return ret; }