DicomObjects.NET.V8
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: .NET CLR 4.0 or higher

    See Also