Desktop Functions: Smart Device Functions:
|
WSAData (ws2_32)
C# Signature:
[StructLayout(LayoutKind.Sequential)] 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! I tried this code and found it doesn't work. I got an empty class after calling. How I solved: 1) making class a struct 2) adding MarshalAs attibute to string members in order to set the maximum length of string Since I've done it i got a filled structure with detailed information about WinSock. Not an empty one. Sample Code:Please add some! Alternative Managed API:Do you know one? Please contribute it! Please edit this page!Do you have...
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more). |
|