Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 434
  • Last Modified:

Hold request in wcf

Hi,

i am getting request from different clients and i want to hold that requests in Wcf and check which request belongs to

which client.

please guide me how to solve this.
0
praveen1981
Asked:
praveen1981
  • 3
1 Solution
 
Meir RivkinFull stack Software EngineerCommented:
i'm not sure if that is what u mean but in .net 3.5 you can get the client address/port/ip.

Get the Client’s Address in WCF
0
 
praveen1981Author Commented:
Hi,
acutally  i am getting the  request from different clients , i.e i am getting different threads

now i will send all these request to different application which is java , and they will place in their queue, and we don't know  for which request  the response comes from their queue because sometimes some queue may fails , so i need to check the for which request the response has come  by verifying with thread and send back the response to client, so here i need to sleep all the threads in WCF coming from client and after getting the response , i need to check for which thread i got the response and release that thread.

This is what my task, so can you please say whether i can achieve this by using mutex. if so, can mutex will  lock  multiple threads , please guide me how to achieve this.
0
 
praveen1981Author Commented:
Hi

I got the solution,

it worked with AutoReset method.
0
 
praveen1981Author Commented:
The problem was solved
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now