DicomObjects.NET.V8
DicomObjects Namespace / DicomServer Class / Listen Method / Listen(Int32,TlsAcceptor) Method

The TCP port on which to receive connections

The DicomObjects.Delegates.TlsAcceptor object used to accept secure connections




In This Topic
    Listen(Int32,TlsAcceptor) Method
    In This Topic
    Open a TCP port to listen for secure incoming DICOM Connections
    Syntax
    'Declaration
     
    Public Overloads Sub Listen( _
       ByVal Port As Integer, _
       ByVal AcceptTls As TlsAcceptor _
    ) 
    'Usage
     
    Dim instance As DicomServer
    Dim Port As Integer
    Dim AcceptTls As TlsAcceptor
     
    instance.Listen(Port, AcceptTls)
    public void Listen( 
       int Port,
       TlsAcceptor AcceptTls
    )
    public:
    void Listen( 
       int Port,
       TlsAcceptor^ AcceptTls
    ) 

    Parameters

    Port

    The TCP port on which to receive connections

    AcceptTls

    The DicomObjects.Delegates.TlsAcceptor object used to accept secure connections

    Remarks

    This is the secure equivalent of the Listen method.

    Different ports must be used for secure and non-secure associations, as the security negotiation occurs before DICOM negotiation.

    More than one port may be active simultaneously. The listening sockets are all closed when the control is de-activated.

    Closing a “listening” socket has no effect on currently active associations that connected via that socket.

    Requirements

    Target Platforms: .NET CLR 3.5 or higher

    See Also