Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User eichin's Avatar
    Join Date
    Jan 2005
    Posts
    11
    Trying to implement a client for a protocol that includes the client-side IPV4 address in a UDP packet. (No, the protocol doesn't work from behind a NAT :-) No socket.gethostname, no socket.getpeername (which wouldn't help because it's not a connected socket anyway)... nothing obvious in e32socket... suggestions?

  2. #2
    Registered User eichin's Avatar
    Join Date
    Jan 2005
    Posts
    11
    (For now, I've kludged it to urllib.open.read a remote web page that just returns the client address as a string; for the simple case, this would work with NAT'ed addresses too, since all that matters is the address "presented" to the outside world, but isn't quite what I'm looking for.)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved