DicomObjects.NET Core 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 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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also