SocketEventArgsPool Constructor |
Namespace: Ozeki.NetworkAssembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax public SocketEventArgsPool(
EventHandler<SocketAsyncEventArgs> callback,
int bufferSize = 8192,
int maxSendSocketEventArgs = 100,
int maxReceiveSocketEventArgs = 100
)
Public Sub New (
callback As EventHandler(Of SocketAsyncEventArgs),
Optional bufferSize As Integer = 8192,
Optional maxSendSocketEventArgs As Integer = 100,
Optional maxReceiveSocketEventArgs As Integer = 100
)
public:
SocketEventArgsPool(
EventHandler<SocketAsyncEventArgs^>^ callback,
int bufferSize = 8192,
int maxSendSocketEventArgs = 100,
int maxReceiveSocketEventArgs = 100
)
new :
callback : EventHandler<SocketAsyncEventArgs> *
?bufferSize : int *
?maxSendSocketEventArgs : int *
?maxReceiveSocketEventArgs : int
(* Defaults:
let _bufferSize = defaultArg bufferSize 8192
let _maxSendSocketEventArgs = defaultArg maxSendSocketEventArgs 100
let _maxReceiveSocketEventArgs = defaultArg maxReceiveSocketEventArgs 100
*)
-> SocketEventArgsPool
Parameters
- callback
- Type: SystemEventHandlerSocketAsyncEventArgs
- bufferSize (Optional)
- Type: SystemInt32
- maxSendSocketEventArgs (Optional)
- Type: SystemInt32
- maxReceiveSocketEventArgs (Optional)
- Type: SystemInt32
See Also