Jump to content
  • Advertisement
Sign in to follow this  
myrdos

UDP on Windows mobile

This topic is 3559 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm developing on a Samsung i718, a phone running Windows CE. The SDK is Windows Mobile 6 Professional. The problem is with sending UDP from the phone. As far as I can tell, everything works correctly, and sendto reports that my entire message was sent. (return value is the number of bytes in the message). However, my server never actually receives the packet. The phone is connected to the internet using ActiveSync over bluetooth. I can browse web pages on the phone, so I know the connection is working. And I've tried using dummy UDP clients to connect to the server, and they work also, so I know the server is correctly receiving. What could the problem be? Well, [EDIT]this page says that UDP is not, in fact, supported over ActiveSync. I guess I'll reimplement using TCP and see what happens. [EDIT 2] TCP gave me the same problem - it would claim to connect to the server and send data, even when the server program was turned off. It turns out the trick with ActiveSync is connect to the host named "ppp_peer", which will give you the PC running ActiveSync. Directly connecting to other hosts based on their IP addresses is not supported, as far as I can tell. [Edited by - myrdos on October 20, 2008 5:32:55 PM]

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!