C# Class LibuvSharp.UV

Show file Open project: txdv/LibuvSharp Class Usage Examples

Private Properties

Property Type Description
Alloc System.IntPtr
Alloc System.IntPtr
Alloc System.IntPtr
Bind void
Free void
GetIPEndPoint System.Net.IPEndPoint
GetMapping System.Net.IPAddress
GetSockname System.Net.IPEndPoint
IsMapping bool
Sizeof int
ToString string
ToString string
ToStruct sockaddr_in
ToStruct6 sockaddr_in6
ntohs ushort
ntohs_unix ushort
ntohs_win ushort
strlen int
uv_ip4_addr int
uv_ip4_name int
uv_ip6_addr int
uv_ip6_name int
uv_req_size int
uv_version uint
uv_version_string sbyte*

Public Methods

Method Description
GetVersion ( int &major, int &minor, int &patch ) : void
PrintPointers ( ) : void

Private Methods

Method Description
Alloc ( HandleType type ) : IntPtr
Alloc ( RequestType type ) : IntPtr
Alloc ( int size ) : IntPtr
Bind ( LibuvSharp.Handle handle, bind bind, bind6 bind6, IPAddress ipAddress, int port, bool dualstack ) : void
Free ( IntPtr ptr ) : void
GetIPEndPoint ( IntPtr sockaddr, bool map ) : IPEndPoint
GetMapping ( byte data ) : IPAddress
GetSockname ( LibuvSharp.Handle handle, uv_getsockname getsockname ) : IPEndPoint
IsMapping ( byte data ) : bool
Sizeof ( RequestType type ) : int
ToString ( int size, Func func ) : string
ToString ( int size, callback func ) : string
ToStruct ( string ip, int port ) : sockaddr_in
ToStruct6 ( string ip, int port ) : sockaddr_in6
ntohs ( ushort bytes ) : ushort
ntohs_unix ( ushort bytes ) : ushort
ntohs_win ( ushort bytes ) : ushort
strlen ( byte bytes ) : int
uv_ip4_addr ( string ip, int port, sockaddr_in &address ) : int
uv_ip4_name ( IntPtr src, byte dst, IntPtr size ) : int
uv_ip6_addr ( string ip, int port, sockaddr_in6 &address ) : int
uv_ip6_name ( IntPtr src, byte dst, IntPtr size ) : int
uv_req_size ( RequestType type ) : int
uv_version ( ) : uint
uv_version_string ( ) : sbyte*

Method Details

GetVersion() public static method

public static GetVersion ( int &major, int &minor, int &patch ) : void
major int
minor int
patch int
return void

PrintPointers() public static method

public static PrintPointers ( ) : void
return void