| Reply | « Previous Thread | Next Thread » |
|
Dear all,
What is the best way of retrieving the port number of a socket that has been assigned dynamically with: serverSock.bind( ("127.0.0.1",0) ) ? Btw, is there another way of retrieving the ip address of the host other than: apid = socket.select_access_point() apo = socket.access_point(apid) socket.set_default_access_point(apo) apo.start() self.phoneIp = apo.ip() i.e. avoiding to execute apo.start() Thanks, Mirco |
| mircomusolesi |
| View Public Profile |
| Find all posts by mircomusolesi |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Problem while writing on perticular port using socket | Kranti | Symbian Networking & Messaging | 0 | 2008-11-04 11:45 |
| SIP/JSR180: Registration fails due to sending/listening port mismatch at client | shiv_nitjai | Mobile Java Networking & Messaging & Security | 0 | 2008-10-14 13:43 |
| Datagram client port problem | khalandar | Mobile Java Networking & Messaging & Security | 4 | 2007-03-26 07:07 |
| How to get current Bluetooth socket size | berny_ | Symbian Networking & Messaging | 1 | 2006-11-28 10:00 |
| SMS with a port number lost if no application registered for that port? | Ucomania | Mobile Java General | 3 | 2004-08-26 11:15 |