Dart SecureTcp, SecureServer Controls
Listen Method
A value between 1 and 65535, inclusive. Defaults to 443 for SSL Server operation.
Local interface address to use in dot notation.
Maximum length to which the queue of pending connections may grow. Defaults to the maximum number allowed.
Description
Listen for connections
Syntax
Visual Basic
Public Sub Listen( _
   Optional ByVal LocalPort As Long = 0, _
   Optional ByVal LocalAddress As String, _
   Optional ByVal Backlog As Long = 0 _
) 
Parameters
LocalPort
A value between 1 and 65535, inclusive. Defaults to 443 for SSL Server operation.
LocalAddress
Local interface address to use in dot notation.
Backlog
Maximum length to which the queue of pending connections may grow. Defaults to the maximum number allowed.
Remarks

If this method fails with a ptAddressInUse error, it is usually due to an application is using the LocalPort specified. You can override this error by setting ReuseAddress to True and calling this method again.

Error Codes

This method may generate the following error code (refer to ErrorConstants for a complete list of error codes):

See Also

SecureServer Object  | SecureServer Members


PowerTCP SSL for ActiveX Documentation Version 2.2.1
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic