C# Class IronRuby.StandardLibrary.Sockets.TCPSocket

Inheritance: IPSocket
显示文件 Open project: jschementi/iron Class Usage Examples

Public Methods

Method Description
TCPSocket ( RubyContext context ) : System.Net.Sockets

Creates an uninitialized socket.

TCPSocket ( RubyContext context, Socket socket ) : System.Net.Sockets

Private Methods

Method Description
BindLocalEndPoint ( TCPSocket socket, MutableString localHost, int localPort ) : TCPSocket
CreateSocket ( MutableString remoteHost, int port ) : Socket
CreateTCPSocket ( ConversionStorage stringCast, ConversionStorage fixnumCast, RubyClass self, [ remoteHost, object remotePort, [ localPort ) : TCPSocket
CreateTCPSocket ( ConversionStorage stringCast, ConversionStorage fixnumCast, RubyClass self, [ remoteHost, object remotePort, [ localHost, object localPort ) : TCPSocket
GetHostByName ( ConversionStorage stringCast, RubyClass self, object hostNameOrAddress ) : RubyArray
Reinitialize ( ConversionStorage stringCast, ConversionStorage fixnumCast, TCPServer self, [ remoteHost, object remotePort, [ localPort ) : TCPServer
Reinitialize ( ConversionStorage stringCast, ConversionStorage fixnumCast, TCPServer self, [ remoteHost, object remotePort, [ localHost, object localPort ) : TCPServer

Method Details

TCPSocket() public method

Creates an uninitialized socket.
public TCPSocket ( RubyContext context ) : System.Net.Sockets
context RubyContext
return System.Net.Sockets

TCPSocket() public method

public TCPSocket ( RubyContext context, Socket socket ) : System.Net.Sockets
context RubyContext
socket Socket
return System.Net.Sockets