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

The port number which is to be closed for incoming connection.







In This Topic
    Unlisten(Int32) Method
    In This Topic
    Close a "Listening" TCP port, specified by the port number, for incoming DICOM Connections
    Syntax
    'Declaration
     
    
    Public Overloads Sub Unlisten( _
       ByVal Port As System.Integer _
    ) 
    'Usage
     
    
    Dim instance As DicomServer
    Dim Port As System.Integer
     
    instance.Unlisten(Port)
    public void Unlisten( 
       System.int Port
    )
    public procedure Unlisten( 
        Port: System.Integer
    ); 
    public function Unlisten( 
       Port : System.int
    );
    public: void Unlisten( 
       System.int Port
    ) 
    public:
    void Unlisten( 
       System.int Port
    ) 

    Parameters

    Port

    The port number which is to be closed for incoming connection.

    Remarks

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

    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also