Accept

This method is used to receive an incoming connection during a Winsock control ConnectionRequest event.

Syntax

winsock.Accept

Parameters

winsock
Required. Name of a Winsock control.

Return Value

None.

Remarks

This method applies only to Winsock server applications. You cannot pass a RequestID as in Visual Basic 6.0, so you should accept the connection with the same control that was listening for the request.