ActivateWinsock
Description
Activates Winsock services for the component.
Remarks
After the SockQ object has been instantiated, this method must be called before the SocketQ object can be used. Note that the object must be deactivated before being set to nothing, or all resources will not be freed.
Note that this method returns an error code, with zero specifying no errors. Common errors would include (but are not limited to) those in SQ_GENERAL_ERRORS.
Developers should be aware that all but two method and properties are unavailable for use until an instance of the SocketQ object has been instantiated and the ActivateWinsock method called. The only exception is the ChunkSize property which must be set after the ActivateWinsock method has been called, but before any connections have been made.
Prototype
LONG CSockQ::ActivateWinsock(BOOL ActivationStatus)
Last updated