Prajna


GenericNetwork

base class which maintains multiple GenericConn connections which - share a common pool of SocketAsyncEventArgs which are processed by a superclass along with - share a threadpool for receiving and sending

Constructors

ConstructorDescription
new(...)
Signature: (stackSize:int * bufSize:int * bStartSendPool:bool * recvCbO:(SocketAsyncEventArgs -> unit) option * sendCbO:(SocketAsyncEventArgs -> unit) option) -> GenericNetwork

Allow specification of stackSize, buffer size, bStartSendPool upon construction

new(bStartSendPool)
Signature: bStartSendPool:bool -> GenericNetwork

Start with numNetThreads being default

new(bStartSendPool, numNetThreads)
Signature: (bStartSendPool:bool * numNetThreads:int) -> GenericNetwork

Instance members

Instance memberDescription
Close()
Signature: unit -> unit
Modifiers: abstract

Close network connections

DisposeResource()
Signature: unit -> unit
Fork me on GitHub