SecureServer Object : Listen Method |
Visual Basic |
---|
Public Sub Listen( _ Optional ByVal LocalPort As Long = 0, _ Optional ByVal LocalAddress As String, _ Optional ByVal Backlog As Long = 0 _ ) |
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.
This method may generate the following error code (refer to ErrorConstants for a complete list of error codes):