Read-only archive of the All About Symbian forum (2001–2013) · About this archive

[Help] Get P800's local IP

1 replies · 1,590 views · Started 04 June 2003

Hi all..

I'm trying to write a server app, but I'm wandering, how do I get my own IP? does P800 reconganize "localhost" or "127.0.0.1" or it has other internal IP? thx for hlp 😊

I believe that '127.0.0.1' should work. Its possible that 'localhost' would work as well, but that probably requires a lookup to resolve the address which might or might not work without actually having a connection active.

If you're writing a server, I assume you're writing a client to test it with as well. Just configure the client to connect to 127.0.0.1 at the correct port (e.g. the one the server listens to 😊) and see what happens.

Regards,

/Cruizer.