Send a DCC Chat request to a remote user and wait for a connection
using timeout period specified.
[Visual Basic] Overloads Public Shared Function Request( _ ByVal dccUserInfo As DccUserInfo, _ ByVal listenIPAddress As String, _ ByVal listenPort As Integer, _ ByVal timeout As Long _ ) As DccChatSession
A collection of information about the remote user.
listenIPAddress
The IP address that will be sent to the remote user. It must
be in dotted quad format (i.e. 192.168.0.2). If the client is behind a NAT system then
this should be the address of that system and not the local host.
listenPort
The TCP/IP port to listen on
timeout
How long to wait for a response in milliseconds.
A value of zero will disable the timeout.
Remarks
If the user does not respond within the timeout period the DccChatSession
will stop listening for a connection. The sesssion instance created then becomes
invalid. This methods must be called again and a new instance created in order to
initiate a try again.
This method should be called from within a try/catch block
in case there are socket errors.