Ejemplo n.º 1
0
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            WSAData dummy = new WSAData();

            m_socketAccessable = NativeMethods.WSAStartup(0x0202, ref dummy) == 0;
        }
Ejemplo n.º 2
0
 public static extern Int32 WSAStartup(short wVersionRequested, ref WSAData wsaData);