Background Threads (Async) in Classic ASP

* Chilkat recommends avoiding the use of Async methods in Classic ASP.  In summary, the Chilkat Async methods run in a background thread (within Chilkat) and you don’t want the background thread to be running after the processing of the ASP page is completed. In Classic ASP, creating and managing background threads is not natively supported because Classic ASP is […]

Chilkat Socket Thread-Safety

Question: In my Visual FoxPro program, accessing the IsConnected property on a ChilkatSocket hangs when a “ReceiveUntilByteBdAsync” is run immediately after connecting the socket. Here is a minimal reproducible example: LOCAL loSocket loSocket = CreateObject(‘Chilkat_9_5_0.Socket’) loSocket.connect(‘127.0.0.1’, 8945, .f., 5000) &&used external socket server to be sure it was unrelated loBinData = CreateObject(‘Chilkat_9_5_0.BinData’) loTask = loSocket.ReceiveUntilByteBdAsync(ASC(‘Z’), loBinData) ?loSocket.IsConnected &&works loTask.run() ?loSocket.IsConnected […]