Question:

When using asynchronous socket methods, VFP crashes.

Try running the code from the example under VFP https://www.example-code.com/foxpro/socket_async.asp

What else do I need to configure?

Answer:

The older IDE’s such as VB6 and FoxPro don’t take kindly to background threads.  The solution is to clean up the threads at the end of your program by doing this:

loGlobal = CreateObject('Chilkat_9_5_0.Global')
lnSuccess = loGlobal.FinalizeThreadPool()