C# Class MySql.Data.Common.StreamCreator

Summary description for StreamCreator.
Mostra file Open project: elevate/mysqlconnector-.net Class Usage Examples

Public Methods

Method Description
GetStream ( uint timeout ) : Stream
StreamCreator ( string hosts, uint port, string pipeName, uint keepalive ) : System

Private Methods

Method Description
CreateSocketStream ( IPAddress ip, bool unix ) : Stream
CreateUnixEndPoint ( string host ) : EndPoint
GetDnsHostEntry ( string hostname ) : IPHostEntry
GetHostEntry ( string hostname ) : IPHostEntry
ParseIPAddress ( string hostname ) : IPHostEntry
SetKeepAlive ( Socket s, uint time ) : void

Set keepalive + timeout on socket.

Method Details

GetStream() public method

public GetStream ( uint timeout ) : Stream
timeout uint
return Stream

StreamCreator() public method

public StreamCreator ( string hosts, uint port, string pipeName, uint keepalive ) : System
hosts string
port uint
pipeName string
keepalive uint
return System