Socket.BeginReceive() Problem
From: J Brad (anonymous_at_discussions.microsoft.com)
Date: 04/23/04
- Next message: Dmitriy Lapshin [C# / .NET MVP]: "Re: Authentication of a user (single sign-on)"
- Previous message: Jason: "Services and Service timers"
- Messages sorted by: [ date ] [ thread ]
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:
- Next message: Dmitriy Lapshin [C# / .NET MVP]: "Re: Authentication of a user (single sign-on)"
- Previous message: Jason: "Services and Service timers"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|