DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomServer Class / Listen Method / Listen(Int32) Method

The TCP port on which to receive connections







    Listen(Int32) Method
    Open a TCP port to listen for incoming DICOM Connections
    Syntax
    'Declaration
     
    
    Public Overloads Sub Listen( _
       ByVal Port As System.Integer _
    ) 
     
    'Usage
     
    
    Dim instance As DicomServer
    Dim Port As System.Integer
     
    instance.Listen(Port)

    Parameters

    Port

    The TCP port on which to receive connections

    Remarks

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

    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also