DicomObjects.NET.V8
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 Integer, _
       ByVal Address As String _
    ) 
    'Usage
     
    Dim instance As DicomServer
    Dim Port As Integer
    Dim Address As String
     
    instance.Unlisten(Port, Address)
    public void Unlisten( 
       int Port,
       string Address
    )
    public:
    void Unlisten( 
       int Port,
       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.0 or higher

    See Also