Non-blocking socket listening

  • Thread starter Thread starter Markus
  • Start date Start date
M

Markus

Hello,

I have a question, one might be able to aswer.
I am using an the winsock api through VBA in Excel to communicate with
a Haskell server.
The Haskell server allows multiple clients. All incoming data and
computed results are multiplexed to all clients.
Therefore the Excel client has somehow to react an some 'action' on
the channel. Is the a possibility to generate an event, whenever data
is arriving on the channel? Of course, this behavior must be non-
blocking.

In my opinion, polling would be a valid but bad solution for this
problem.

Thanks in advance for your suggestions,

regards,
Markus
 
Sorry about that, I guess I didn't really write what I want to
know :-)
Since the WinSock control is not available in my environment, nor
ScriptUtilities are, I search for a way to listen on a socket via
Excel VBA. This listening should be non-blocking, of course. I am
wondering, whether this is possible without threads or the Winsock
control.

Thanks,
Markus
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top