Socket.BeginReceive() Problem

From: J Brad (anonymous_at_discussions.microsoft.com)
Date: 04/23/04


Date: Fri, 23 Apr 2004 06:31:04 -0700


 
Hello,

I wrote a Asynch Server using ManualResetEvent.Reset(), ManualResetEvent.Set(), ManualResetEvent.WaitOne() events .
I'm receiving a Message (Example: "Hello Word") without Terminator (No Char or String Terminator like <EOF>).
So When I Receive my Message ((Example: "Hello Word") ), My seconde call "handler.BeginReceive()" will not call the ReadCallback() delegate.
Is there any way to control the end of reading of the message (without Terminator)?

My App Model is:
1)
Main:



Relevant Pages

  • Re: Rugby twat banned for drink-driving
    ... I'm not condoning drink driving - but reading this it seems to me like ... The liberal-left hardliners have no sympathy and would ... resignation to the forces that control all our lives, ... And no, I don't condone drinking and driving, but that is mainly due ...
    (rec.sport.rugby.union)
  • Re: Inexpensive Electronic Temperature Switch by Dwyer (Love) Controls
    ... double boiler espresso machines. ... the PF reading was always a fixed offset away ... average shot temperature within 1F at worst. ... of an on/off control is minimized. ...
    (alt.coffee)
  • Re: Inexpensive Electronic Temperature Switch by Dwyer (Love) Controls
    ... crumpled aluminum foil) would get you a truer reading? ... > double boiler espresso machines. ... > average shot temperature within 1F at worst. ... > of an on/off control is minimized. ...
    (alt.coffee)
  • Re: ATC question
    ... A friend of mine flew into Reading, ... with radar approach control, they elected to simply call tower directly ... My friend said that the controller was quite nasty ...
    (rec.aviation.piloting)
  • Re: Question for the group
    ... Had a avg. ... :: had a reading of 194 and soon after I went for my morning walk. ... If you are taking meds to keep your sugar under ... :: control what keeps you from going to low after exercise? ...
    (alt.support.diabetes)