Login Page - Create Account

Support Board


Date/Time: Tue, 22 Apr 2025 06:23:49 +0000



Post From: Is it possible to create a socket & send data to the socket from within a custom study?

[2025-02-03 19:30:49]
seandunaway - Posts: 348
you can probably achieve what you want with ACSIL Interface Members - Functions: sc.MakeHTTPPOSTRequest() (example in ACS_Source/Studies8.cpp)

but to answer your question: absolutely you can. you're handed full control of the machine with the entire study interface every chart update interval. you'll need to be mindful of not hanging the sc thread and maintaining your state with persistent variables. you will surely want to build locally for debugging and linking any additional libraries

winsock docs: https://learn.microsoft.com/en-us/windows/win32/winsock/getting-started-with-winsock
Date Time Of Last Edit: 2025-02-03 20:44:36