Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Mobile
  4. SOCK_RAW on CE

SOCK_RAW on CE

Scheduled Pinned Locked Moved Mobile
helptutorialquestion
2 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    zoid
    wrote on last edited by
    #1

    Hi, When I try to open a raw socket on a pocket PC I get the following error code from the failed call to socket(): WSAESOCKTNOSUPPORT (10044) •Translation: Socket type not supported. •Description: The support for the specified socket type does not exist in this address family. For example, the SOCK_RAW optional type may be selected in a socket (Wsapiref_2qr6.asp) call but the implementation does not support SOCK_RAW sockets at all. The code I use to open the socket is: rawSocket = socket(AF_INET, SOCK_RAW, IPPROTO_ICMP); The error code suggests that raw sockets are not implemented on CE (Pocket PC 4.20) ? Can someone confirm this? I have some code that performs an ICMP ping and I would like to run it on CE, but it appears as if this will not be possible. Thanks, Tom.

    Z 1 Reply Last reply
    0
    • Z zoid

      Hi, When I try to open a raw socket on a pocket PC I get the following error code from the failed call to socket(): WSAESOCKTNOSUPPORT (10044) •Translation: Socket type not supported. •Description: The support for the specified socket type does not exist in this address family. For example, the SOCK_RAW optional type may be selected in a socket (Wsapiref_2qr6.asp) call but the implementation does not support SOCK_RAW sockets at all. The code I use to open the socket is: rawSocket = socket(AF_INET, SOCK_RAW, IPPROTO_ICMP); The error code suggests that raw sockets are not implemented on CE (Pocket PC 4.20) ? Can someone confirm this? I have some code that performs an ICMP ping and I would like to run it on CE, but it appears as if this will not be possible. Thanks, Tom.

      Z Offline
      Z Offline
      zoid
      wrote on last edited by
      #2

      I found the answer, raw sockets are not supported but this exists:): http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcetcpip/html/cereficmpsendecho.asp

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups