C# Class IronRuby.StandardLibrary.Sockets.RubySocket

Inheritance: RubyBasicSocket
Show file Open project: jschementi/iron Class Usage Examples

Public Methods

Method Description
RubySocket ( RubyContext context, Socket socket ) : System

Private Methods

Method Description
Accept ( RubyContext context, RubySocket self ) : RubyArray
AcceptNonBlocking ( RubyContext context, RubySocket self ) : RubyArray
Bind ( RubyContext context, RubySocket self, MutableString sockaddr ) : int
Connect ( RubyContext context, RubySocket self, MutableString sockaddr ) : int
ConnectNonBlocking ( RubyContext context, RubySocket self, MutableString sockaddr ) : int
CreateSocket ( ConversionStorage stringCast, ConversionStorage fixnumCast, RubyClass self, [ domain, [ type, [ protocol ) : RubySocket
CreateSocketPair ( RubyClass self, object domain, object type, object protocol ) : RubyArray
GetAddressInfo ( ConversionStorage stringCast, ConversionStorage fixnumCast, RubyClass self, object hostNameOrAddress, object port, [ family, [ socktype, [ protocol, [ flags ) : RubyArray
GetHostByAddress ( ConversionStorage stringCast, ConversionStorage fixnumCast, RubyClass self, [ address, [ type ) : RubyArray
GetHostByName ( RubyClass self, [ address ) : RubyArray
GetHostByName ( RubyClass self, int address ) : RubyArray
GetHostname ( RubyClass self ) : MutableString
GetNameInfo ( ConversionStorage stringCast, ConversionStorage fixnumCast, RubyClass self, [ hostInfo, [ flags ) : RubyArray
GetNameInfo ( RubyClass self, [ address, [ flags ) : RubyArray
GetServiceByName ( RubyClass self, [ name, [ protocol ) : int
Listen ( RubyContext context, RubySocket self, int backlog ) : int
PackInetSockAddr ( ConversionStorage stringCast, ConversionStorage fixnumCast, RubyClass self, object port, object hostNameOrAddress ) : MutableString
ParseInteger ( RubyContext context, string str ) : int
ReceiveFrom ( ConversionStorage fixnumCast, RubySocket self, int length ) : RubyArray
ReceiveFrom ( ConversionStorage fixnumCast, RubySocket self, int length, object flags ) : RubyArray
SysAccept ( RubyContext context, RubySocket self ) : RubyArray
UnPackInetSockAddr ( RubyClass self, [ address ) : RubyArray
UnpackSockAddr ( MutableString stringAddress ) : IPEndPoint

Method Details

RubySocket() public method

public RubySocket ( RubyContext context, Socket socket ) : System
context RubyContext
socket Socket
return System