@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: Data structure for the Windows Socket API !!!!C# Signature: // For 32-bit execution [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)] public struct WSAData { public Int16 version; public Int16 highVersion; [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 257)] public String description; [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 129)] public String systemStatus; public Int16 maxSockets; public Int16 maxUdpDg; public IntPtr vendorInfo; } // For 64-bit execution [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)] internal struct WSAData64 { internal ushort wVersion; internal ushort wHighVersion; internal ushort iMaxSockets; internal ushort iMaxUdpDg; internal IntPtr lpVendorInfo; [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 257)] internal string szDescription; [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 129)] internal string szSystemStatus; } !!!!VB Signature: Declare Function WSAData Lib "ws2_32.dll" (TODO) As TODO !!!!User-Defined Types: None. !!!!Notes: Used in calling WSAStartup. !!!!Tips & Tricks: Please add some! :) !!!!Sample Code: Please add some! !!!!Alternative Managed API: Do you know one? Please contribute it! Documentation: WSAData@msdn on MSDN
Edit ws2_32.WSAData
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.