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

The port number which is to be closed for incoming connection

IP address to listen on







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

    Parameters

    Port

    The port number which is to be closed for incoming connection

    Address

    IP address to listen on

    Remarks

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

    If the address option is used, then address must be either in dotted form, or a resolvable name.

    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also