Listen Method

Listen(portNumber As long, interfaceIPAddress As BSTR)

Listen(long portNumber, BSTR interfaceIPAddress);

Parameters

name type description
portNumber long
interfaceIPAddress BSTR (optional)The IP Address to listen on.

Description

Listens to the specified port. Call GetNextConnection to pick up the next connection. The object will accept connections until the object is destroyed.

By default the object will listen on all IP address on the computer. If you wish to listen on just on interface specify the IP address in the interfaceIPAddress parameter.

Object

SocketListener



We always want to hear your feedback. Send to feedback@toolsack.com.
© 2000-2001 Toolsack Software Ltd.