DicomObjects.NET Core 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 Integer _
    ) 
    'Usage
     
    
    Dim instance As DicomServer
    Dim Port As Integer
     
    instance.Listen(Port)
    public void Listen( 
       int Port
    )
    public:
    void Listen( 
       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: 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