DicomObjects Reference
DicomObjects Reference / DicomServer Object / Unlisten Method
The TCP port on which to receive connections
In This Topic
    Unlisten Method
    In This Topic
    Description
    Closes a 'listening' TCP port
    Syntax
    Visual Basic
    Public Sub Unlisten( _
       ByVal Port As Long _
    ) 
    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.
    Closing a “listening” socket has no effect on currently active associations that connected via that socket.
    Port is specified as a long integer, to avoid ambiguities in the range 8000-FFFF.
    If the specific option is used, then address must be either in dotted form, or a resolvable name.
    See Also