DicomObjects Reference
DicomObjects Reference / DicomServer Object / ListenSpecific Method
The TCP port on which to receive connections
IP address to listen on
ListenSpecific Method
Description
Listen on a specific IP address
Syntax
Visual Basic
Public Function ListenSpecific( _
   ByVal Port As Long, _
   ByVal Address As String _
) As Boolean
Parameters
Port
The TCP port on which to receive connections
Address
IP address to listen on
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