Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Support Forum
Download Visual Studio Add-In

Terms of Use
Privacy Policy
WSAPROTOCOL_INFO (ws2_32)
 
.
Summary
TODO - a short description

C# Signature:

[StructLayout(LayoutKind.Sequential)]

internal struct WSAPROTOCOL_INFO

{

    public int dwServiceFlags1;
    public int dwServiceFlags2;
    public int dwServiceFlags3;
    public int dwServiceFlags4;
    public int dwProviderFlags;
    public GUID ProviderId;
    public int dwCatalogEntryId;
    public WSAPROTOCOLCHAIN ProtocolChain;
    public int iVersion;
    public int iAddressFamily;
    public int iMaxSockAddr;
    public int iMinSockAddr;
    public int iSocketType;
    public int iProtocol;
    public int iProtocolMaxOffset;
    public int iNetworkByteOrder;
    public int iSecurityScheme;
    public int dwMessageSize;
    public int dwProviderReserved;
    [MarshalAs(UnmanagedType.ByValArray, SizeConst = 255 /* WSAPROTOCOL_LEN */ + 1)]
    public char[] szProtocol;

}

[StructLayout(LayoutKind.Sequential)]

internal struct WSAPROTOCOLCHAIN

{

    public int ChainLen;
    [MarshalAs(UnmanagedType.ByValArray, SizeConst = 7 /* MAX_PROTOCOL_CHAIN */)]
    public int[] ChainEntries;

}

VB Signature:

Declare Function WSAPROTOCOL_INFO Lib "ws2_32.dll" (TODO) As TODO

User-Defined Types:

None.

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Documentation

Please edit this page!

Do you have...

  • helpful tips or sample code to share for using this API in managed code?
  • corrections to the existing content?
  • variations of the signature you want to share?
  • additional languages you want to include?

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).

 
Access PInvoke.net directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version
Revisions