Non-blocking socket listening
If this is in VBA, then you can use the winsock control.
NickHK
"Markus" wrote in message
ups.com...
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
On Jun 13, 11:15 pm, FSt1 wrote:
markus,
this is excel. you need to be posting to tech net or similar.
"Markus" wrote:
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
|