asynchronous UDP spcket for .Net CF

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
 
G

Guest

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.
 
D

dassyms

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top