I'm working on an iPad app, and I need to go from a URL such as www.mysite.com to the IP Address and port, 12.34.56.78   port 123 or so.

Has anyone done this?  I know this is a well defined (and most likely common) task, but I haven't made any headway figuring out how to do it. 

Worth noting I am still on iOS 3.2, we're not ready for iOS 4.0 yet.

Views: 36

Replies to This Discussion

Isn't it funny how you can figure out something thats had you stumped all day after you post a request for help? Kinda like searching the store for spicy mustard, only to have the stockboy point to the shelf directly in front of you when you ask where it is. Turns out the old-fashioned C function getaddrinfo() was all I needed.

RSS

Happy 10th year, JCertif!

Notes

Welcome to Codetown!

Codetown is a social network. It's got blogs, forums, groups, personal pages and more! You might think of Codetown as a funky camper van with lots of compartments for your stuff and a great multimedia system, too! Best of all, Codetown has room for all of your friends.

When you create a profile for yourself you get a personal page automatically. That's where you can be creative and do your own thing. People who want to get to know you will click on your name or picture and…
Continue

Created by Michael Levin Dec 18, 2008 at 6:56pm. Last updated by Michael Levin May 4, 2018.

Looking for Jobs or Staff?

Check out the Codetown Jobs group.

 

Enjoy the site? Support Codetown with your donation.



InfoQ Reading List

How a Software Architect Uses Artificial Intelligence in His Daily Work

Software architects and system architects will not be replaced anytime soon by generative artificial intelligence (AI) or large language models (LLMs), Avraham Poupko said. They will be replaced by software architects who know how to leverage generative AI and LLMs, and just as importantly, know how NOT to use generative AI.

By Ben Linders

Evolving GitHub Issues: Enhancing Project Management for Developers

On January 13, 2025, GitHub released a new update to GitHub Issues, entering public preview with a host of new features designed to improve project management for development teams. The focus of the update is on breaking down complexities with sub-issues.

By Craig Risi

Latin America Launches Latam-GPT to Improve AI Cultural Relevance

Latin America is advancing in the development of artificial intelligence with the creation of Latam-GPT, a language model designed to better represent the history, culture, and linguistic diversity of the region.

By Daniel Dominguez

AWS Launches Trust Center: A Centralized Resource for Security and Compliance Information

AWS Trust Center is a comprehensive online resource that enhances cloud security transparency. It details AWS's security practices, compliance protocols, and data protection controls, making it easier for customers to understand and manage their cloud security. This centralized hub provides real-time service status, security bulletins, and essential resources, improving client trust and confidence

By Steef-Jan Wiggers

Presentation: Flawed ML Security: Mitigating Security Vulnerabilities in Data & Machine Learning Infrastructure with MLSecOps

Adrian Gonzalez-Martin introduces the motivations and the importance of security in data & ML infrastructure through a set of practical examples showcasing "Flawed Machine Learning Security".

By Adrian Gonzalez-Martin

© 2025   Created by Michael Levin.   Powered by

Badges  |  Report an Issue  |  Terms of Service