Windows Sockets within XOP
mkuhler
Hello,
I was experimenting with the possibility of an Igor XOP that ran a Windows socket server to interact with Igor from an external client. I was testing this out and ran into trouble preventing the Igor process from freezing when the server is performing blocking Winsock calls such as accepting clients. I've tried doing this in a separate thread to prevent any blocking to no avail.
Is it possible to create a winsock server within an Igor XOP that doesn't freeze the process? And if not, is there any way for an external application to asynchronously call an Igor procedure or XOP?
Would this project be helpful?
https://github.com/IP-XOP/SOCKIT
January 25, 2024 at 09:26 pm - Permalink
You can also have a look at https://github.com/AllenInstitute/ZeroMQ-XOP which allows to call IP functions via zeromq messages from over the network.
Disclaimer: I wrote it.
January 26, 2024 at 09:29 am - Permalink