DicomObjects Reference
DicomObjects Reference / DicomServer Object / Listen Method
The TCP port on which to receive connections
Listen Method
Description
Opens a 'listening' TCP port for incoming DICOM Connections
Syntax
Visual Basic
Public Function Listen( _
   ByVal Port As Long _
) As Boolean
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