CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2004
    Posts
    1

    UDP with CCeSocket

    Does anybody one who tried and managed to make a UDP application on pocket PC as client and server with CCeSocket that permit to send data in datagram and to receive data from UDP client?
    Because i tried and i managed to send data in UDP from Pocket PC to desktops but not from Pocket PC to other Pocket PCs.
    i use embedded visual c++ 4.0 and the OnReceive() is never called ont the server side after a SendTo with the client...

  2. #2
    Join Date
    Apr 2004
    Posts
    3
    How did you create a UDP socket using CCeSocket as your base class? I though that CCeSocket only allowed SOCK_STREAM and not SOCK_DGRAM (UDP) sockets?

    As far as the OnReceive problems goes, there's a MSDN article about it that should help. See http://support.microsoft.com/default...NoWebContent=1

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured