C# Class SocketServers.SocketRecycling

Inheritance: IDisposable
Afficher le fichier Open project: vf1/serversockets

Méthodes publiques

Méthode Description
Dispose ( ) : void
Get ( AddressFamily family ) : Socket
Recycle ( Socket socket, AddressFamily family ) : bool
SocketRecycling ( int maxSocket ) : System

Private Methods

Méthode Description
GetFull ( AddressFamily family ) : LockFreeStack

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Get() public méthode

public Get ( AddressFamily family ) : Socket
family AddressFamily
Résultat Socket

Recycle() public méthode

public Recycle ( Socket socket, AddressFamily family ) : bool
socket Socket
family AddressFamily
Résultat bool

SocketRecycling() public méthode

public SocketRecycling ( int maxSocket ) : System
maxSocket int
Résultat System