DotNetTcpClientFactoryListenPort Method |
Namespace: Ozeki.NetworkAssembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax public bool ListenPort(
int port,
EventHandler<GenericEventArgs<ITransport>> callback
)
Public Function ListenPort (
port As Integer,
callback As EventHandler(Of GenericEventArgs(Of ITransport))
) As Boolean
public:
virtual bool ListenPort(
int port,
EventHandler<GenericEventArgs<ITransport^>^>^ callback
) sealed
abstract ListenPort :
port : int *
callback : EventHandler<GenericEventArgs<ITransport>> -> bool
override ListenPort :
port : int *
callback : EventHandler<GenericEventArgs<ITransport>> -> bool
Parameters
- port
- Type: SystemInt32
- callback
- Type: SystemEventHandlerGenericEventArgsITransport
Return Value
Type:
BooleanImplements
ITransportFactoryListenPort(Int32, EventHandlerGenericEventArgsITransport)See Also