IPAQ 5450 WLAN icmp - vb.net 2003 question

  • Thread starter Thread starter BLS
  • Start date Start date
B

BLS

I am trying to write an icmp 'echo' from VB.Net 2003 for an IPAQ 5450.
The code sample I used (which works on my desktop) fails on the line:
ICMPSocket = New _

Socket(AddressFamily.InterNetwork, _

SocketType.Raw, ProtocolType.Icmp)

with an error that the protocol type is not supported in the address family.
Everything I've found about CF looks like this should work. Any ideas ?
 
There is no raw socket support on Windows CE.
Take a look at Ping sample at http://www.alexfeinman.com/samples.asp. It
demonstrates how to use IP Helper to ping hosts on WM2003. It will not work
on PocketPC 2002 because Windows CE 3.0 did not have iphlpapi.dll
 

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

Back
Top