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

The TCP port on which to receive connections







In This Topic
    Listen(Int32) Method
    In This Topic
    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)
    public void Listen( 
       System.int Port
    )
    public procedure Listen( 
        Port: System.Integer
    ); 
    public function Listen( 
       Port : System.int
    );
    public: void Listen( 
       System.int Port
    ) 
    public:
    void Listen( 
       System.int 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