Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Markus,
Unless are familiar with API calls, why not use the WinSock control initially. Here's an example: http://vbnet.mvps.org/code/network/winsocksynctime.htm NickHK "Markus" wrote in message oups.com... 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 |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Combo box is not listening to its linked cell | Excel Programming | |||
Socket Connection via Excel | Excel Programming | |||
socket in excel vba | Excel Programming | |||
VBA Socket / Winsock control / issues? Demo app provided. | Excel Programming | |||
Socket Programming in Excel | Excel Programming |