PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Compact Framework
Help - Web Service Blocking Connection?
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Compact Framework
Help - Web Service Blocking Connection?
![]() |
Help - Web Service Blocking Connection? |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
Hi folks,
I'm experiencing a problem with a gprs comms module in our application. The module has two main threads, one can be thought of as a 'ping' type process pinging a server over a tcp socket at a regular interval, the other thread sends data, when required, to the server using RDA and also calls a couple of web service functions in the process. All the threads use the same connection 'OpenNetCF.Net.ConnectionManager' object. The problem I am experiencing is when the second thread calls a web service function it appears to lock or block the connection such that my 'ping' thread which continues to run, when it comes to ping finds that the connection status is stuck at 'waiting for resource' until the web serivce call completes. This has a knock on effect in that the server expecting to receive the regular pings end up timing out the connection. It all functions and recovers fine, but would be better if this blocking did not occur. Can I configure the web service calls to be non-blocking or something? Chris |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

