Opc.Ua.Core
TcpMessageSocket Constructor(IMessageSink,Socket,BufferManager,Int32)



Opc.Ua.Bindings Namespace > TcpMessageSocket Class > TcpMessageSocket Constructor : TcpMessageSocket Constructor(IMessageSink,Socket,BufferManager,Int32)
Attaches the object to an existing socket.
Syntax
'Declaration
 
Public Function New( _
   ByVal sink As IMessageSink, _
   ByVal socket As Socket, _
   ByVal bufferManager As BufferManager, _
   ByVal receiveBufferSize As Integer _
)
'Usage
 
Dim sink As IMessageSink
Dim socket As Socket
Dim bufferManager As BufferManager
Dim receiveBufferSize As Integer
 
Dim instance As New TcpMessageSocket(sink, socket, bufferManager, receiveBufferSize)

Parameters

sink
socket
bufferManager
receiveBufferSize
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

TcpMessageSocket Class
TcpMessageSocket Members
Overload List