Visual Basic |
---|
Public Function ListenSecure( _ ByVal Port As Long, _ ByVal Certificate As Object, _ ByVal NeedClientCertificate As Boolean _ ) As Boolean |
This is the secure equivalent of the Listen method.
Different ports must be used for secure and non-secure associations, as the security negotiation occurs before DICOM negotiation. The remote entity’s certificate is available for checking (as the RemoteCertificate property of the DicomConnection) during Associationrequest2
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.
Note that requesting a client certificate does not guarantee that one will be sent.