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

Search Results for "sockaddr_in" in [All]

ws2_32

1: bind
.
Parameter
socketAddress A sockaddr_in structure used to identify the IP address and port to bind to.
.

    public static extern int bind(IntPtr s, ref sockaddr_in addr, int addrsize);

.

    public static extern int bind(IntPtr s, ref sockaddr_in6 addr, int addrsize);

.

        ByRef socketAddress As sockaddr_in, _

.

    sockaddr_in remoteAddress;            //Remote address structure.

.

            remoteAddress = new sockaddr_in();

.

    public static extern int connect(IntPtr s, ref sockaddr_in addr, int addrsize);

.

    public static extern int connect(IntPtr s, ref sockaddr_in6 addr, int addrsize);

.

    public static extern uint WSAAddressToString(ref sockaddr_in lpsaAddress, int dwAddressLength, IntPtr lpProtocolInfo,

.

    public static extern uint WSAAddressToString(ref  sockaddr_in6 lpsaAddress, int dwAddressLength, IntPtr lpProtocolInfo,

.

                      ref sockaddr_in6    pAddr,

Structures

.

        internal sockaddr_in SockaddrIn

.

            return (sockaddr_in) Marshal.PtrToStructure(

.

            typeof (sockaddr_in));

.

        internal sockaddr_in6 SockaddrIn6

.

            return (sockaddr_in6) Marshal.PtrToStructure(

.

            typeof (sockaddr_in6));

.

sockaddr_in

.

sockaddr_in6

.

    internal struct sockaddr_in6_old

.

Structure sockaddr_in6_old

.
Documentation
[sockaddr_in6_old] on MSDN
.

        //internal sockaddr_in AddressIn;

.

        [FieldOffset(0)] internal sockaddr_in6_old AddressIn6;

.

sockaddr_in6_old

.

    internal struct sockaddr_in6

.

        internal static sockaddr_in6 FromString(string host, int port)

.

        var sockaddr = new sockaddr_in6();

.

    internal struct sockaddr_in6_UNSAFE

.

        internal static sockaddr_in6 FromString(string host, int port)

.

        var sockaddr = new sockaddr_in6();

.

Structure sockaddr_in6

.
Documentation
[sockaddr_in6] on MSDN
.

    internal struct sockaddr_in6

.

        internal static sockaddr_in6 FromString(string host, int port)

.

        var sockaddr = new sockaddr_in6();

.

    internal struct sockaddr_in6_UNSAFE

.

        internal static sockaddr_in6 FromString(string host, int port)

.

        var sockaddr = new sockaddr_in6();

.

Structure sockaddr_in6

.
Documentation
[sockaddr_in6] on MSDN

 
Access PInvoke.net directly from VS: