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. udp failure in WindowsCE 4.2

udp failure in WindowsCE 4.2

Scheduled Pinned Locked Moved Mobile
helpmobilesysadminquestion
2 Posts 2 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.
  • D Offline
    D Offline
    DasdaDAS
    wrote on last edited by
    #1

    This call(recvfrom) is waiting infinitely and the application never comes to next line. I'm using UDP sockets. The data has been sent successfully to server. But I'm facing problem while receiving it. I tested on both smartphone emulator and real device(samsung). In both targets, the application is crashing when it reaches this line. Any idea why it's happening?. Your help is greatly appreciated. i = recvfrom(s1,packetbuffer,sizeof(packetbuffer),0,(SOCKADDR *)&addr,&cbRemoteAddrSize); Zxczc

    V 1 Reply Last reply
    0
    • D DasdaDAS

      This call(recvfrom) is waiting infinitely and the application never comes to next line. I'm using UDP sockets. The data has been sent successfully to server. But I'm facing problem while receiving it. I tested on both smartphone emulator and real device(samsung). In both targets, the application is crashing when it reaches this line. Any idea why it's happening?. Your help is greatly appreciated. i = recvfrom(s1,packetbuffer,sizeof(packetbuffer),0,(SOCKADDR *)&addr,&cbRemoteAddrSize); Zxczc

      V Offline
      V Offline
      vikas amin
      wrote on last edited by
      #2

      Yes he is right. VC++ is quite difficult to USE. Many times 1 line code is .net is replaced with 10 lines code in VC++. I suggest you to learn VB.NET or Embedded vb. According to my experiance VB.net is better for Embedded Development Vikas Amin Embin Technology Bombay vikas.amin@embin.com

      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