C# Class Manos.IO.Managed.Socket

Inheritance: Manos.IO.Socket
Afficher le fichier Open project: toptensoftware/manos

Méthodes publiques

Méthode Description
Close ( ) : void
Connect ( string host, int port, System.Action callback ) : void
GetSocketStream ( ) : Manos.IO.Stream
Listen ( string host, int port, Action callback ) : void
Socket ( Manos.IO.Context loop ) : System

Private Methods

Méthode Description
AcceptCallback ( IAsyncResult ar ) : void
Enqueue ( System.Action action ) : void
Socket ( Manos.IO.Context loop, System socket ) : System
StartConnectingSocket ( IPAddress addr, int port ) : void
StartListeningSocket ( IPAddress addr, int port ) : void

Method Details

Close() public méthode

public Close ( ) : void
Résultat void

Connect() public méthode

public Connect ( string host, int port, System.Action callback ) : void
host string
port int
callback System.Action
Résultat void

GetSocketStream() public méthode

public GetSocketStream ( ) : Manos.IO.Stream
Résultat Manos.IO.Stream

Listen() public méthode

public Listen ( string host, int port, Action callback ) : void
host string
port int
callback Action
Résultat void

Socket() public méthode

public Socket ( Manos.IO.Context loop ) : System
loop Manos.IO.Context
Résultat System