App 9 of 30

The Whats My IP app was a little difficult since you can’t use NSHost anymore. But thanks to my friends over @ stack overflow there is a work around using C code.

 

Lessons Learned:

  1. ifaddrs
  2. arpa/inet
  3. structs
  4. while loops

Whats My IP – Dropbox

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s