Re: CSocket, best way to wait for a reply?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



simon wrote:
My problem is more to find who made the original send request.

Assuming that the user opens a new screen that prints the details of user "XYZ", the screen would send a request "Who is 'XYZ'" but then I would I route the reply all the way back to that original screen so that it can repaint itself. What if two screen send the same request? how will I know what screen needs the info.

Simon

One way is built in to the MFC doc/view architecture: UpdateAllViews. If you wanted to use this concept the server reply could be examined by each view. If you are using dialogs you could implement the same type of communication yourself.


--
Scott McPhillips [VC++ MVP]

.



Relevant Pages

  • Re: Tipster challenge + free tips
    ... No I don't have a written policy yet but I will add one asap - the only ... I also wanted to make a website and play around with ... > simon@xxxxxxxxxxxxxxxx wrote: ... > do with eMail addresses that you gather and, yet, you request them. ...
    (uk.sport.horseracing)
  • Re: Access Denied
    ... It has the required permissions. ... suggestions of the error message. ... Simon ... >> execution of the current web request. ...
    (microsoft.public.inetserver.iis.security)
  • Re: byte inversion in ciphertext
    ... cinemas because of integrated banking. ... William's request. ... Perry won't satisfy any satisfied ... Simon links towards supreme, different areas. ...
    (sci.crypt)
  • Re: Access Denied
    ... READ permission to the resource file. ... "Simon" wrote in message ... > execution of the current web request. ... If the application is impersonating ...
    (microsoft.public.inetserver.iis.security)
  • Threading Issues
    ... XYZ getXYZ; ... or while the XYZ object is processing another request. ... However, being single-threaded, the current POA fails ...
    (comp.object.corba)