D
djlinsen
hi
I've build a webservice and a client application, the client
application get's it's information from the webservice, just like it
supposed to. Now comes te problem, the webservice should have an extra
task, and that is maintaining socket connections with a device and send
commands from the client through the webservice to the device. But
because a webservice is session depended the socket is closed when
there is no client application connected to the webservice and the
socket will be created multiple times when multiple client applications
access the webservice. So there should be 1 system.net.socket running
that maintaince connections with multiple devices (asynch socket) and
just the normal webservice that can send commands to a device.
1 solution is to build a seperate socket server application but the
problem is that i don't want that applicatio to poll for commands from
the client application or from the webservice.
Hope someone can help me
Greetz
I've build a webservice and a client application, the client
application get's it's information from the webservice, just like it
supposed to. Now comes te problem, the webservice should have an extra
task, and that is maintaining socket connections with a device and send
commands from the client through the webservice to the device. But
because a webservice is session depended the socket is closed when
there is no client application connected to the webservice and the
socket will be created multiple times when multiple client applications
access the webservice. So there should be 1 system.net.socket running
that maintaince connections with multiple devices (asynch socket) and
just the normal webservice that can send commands to a device.
1 solution is to build a seperate socket server application but the
problem is that i don't want that applicatio to poll for commands from
the client application or from the webservice.
Hope someone can help me
Greetz