asynchronous UDP spcket for .Net CF

  • Thread starter Thread starter Rajat
  • Start date Start date
R

Rajat

Hello ,


I am trying to create asynchronous socket using C# for Compact
Framework. I am using BeginReceiveFrom() function to receive the data
and trying to use asynccallback method.

What i wanna know is whether asynccallback is supported by .NET CF and
if i want to continuously listen on particular port and receive data
continuously then can can i put the BeginReceiveFrom() in while loop. I
am trying to put BeginReceiveFrom() in while loop but while reading it
just hangs!!!

If anyone has done this before plz mail me code also.


Thanks in advance,
Rajat
 
Practically all functionality of the asyncronous sockets that is avaliable on
the desktop supported in the CF.
I am trying to put BeginReceiveFrom() in while loop but while reading it
just hangs!!!

Just use the callbacks. You don't need to put it in the loop.
 
Hi .Net CF Experts,

I am dealing with Asynchronous sockets USING TCP SOCKETS.
Could anybody help me give samples in VB.net/C# for connecting to a
UNIX server machine(sending some 10KB of data back /forth) through
the
Non-Blocking sockets model?

am using
vs.net 2003
active sync 3.8
Wince.net 4.2 powered smart device



Das Dexterity
 
Back
Top