(PHP Extension) Demonstrates UnlockComponent for Socket
Demonstrates how to unlock the Chilkat Socket functionality. The UnlockComponent method should be called once at the beginning of the program. Once unlocked, all subsequent Socket objects are created in the unlocked state. There is no need to call UnlockComponent for every instance of a Chilkat Socket object.
The object that called UnlockComponent may be discarded (deleted, deallocated, etc.). It does not need to remain in existence for subsequent objects to be already unlocked when created.
<?php
// The version number (9_5_0) should match version of the Chilkat extension used, omitting the micro-version number.
// For example, if using Chilkat v9.5.0.48, then include as shown here:
include("chilkat_9_5_0.php");
// See Global Unlock Sample for sample code.
?>
|