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: 34

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

Presentation: Production Comes First - An Outside-In Approach to Building Microservices

Martin Thwaites introduces outside-in testing, how to use Observability techniques in a local development to build applications that are easier to debug locally and run as a first class citizen.

By Martin Thwaites

Physical Intelligence Unveils Robotics Foundation Model Pi-Zero

Physical Intelligence recently announced π0 (pi-zero), a general-purpose AI foundation model for robots. Pi-zero is based on a pre-trained vision-language model (VLM) and outperforms other baseline models in evaluations on five robot tasks.

By Anthony Alford

AWS Launches Lambda SnapStart for Python and .NET Functions

AWS has unveiled Lambda SnapStart for Python and .NET, enhancing serverless app performance by reducing cold start latency. This feature builds on the success of Lambda SnapStart for Java, allowing faster initializations through early environment caching. Available in multiple global regions, it offers efficient management of caching costs with Python 3.12+ and .NET 8+.

By Steef-Jan Wiggers

AWS Reveals Multi-Agent Orchestrator Framework for Managing AI Agents

AWS has introduced Multi-Agent Orchestrator, a framework designed to manage multiple AI agents and handle complex conversational scenarios. The system routes queries to the most suitable agent, maintains context across interactions, and integrates seamlessly with a variety of deployment environments, including AWS Lambda, local setups, and other cloud platforms.

By Daniel Dominguez

Java News Roundup: Last of the JEPs Targeted to JDK 24, Quarkus 3.17, Maven 4.0-RC1, Kotlin 2.1

This week's Java roundup for November 25th, 2024 features news highlighting: the last of the JEPs targeted to JDK 24 before Rampdown Phase One; the release of Quarkus 3.17.0, Hibernate Search 7.2.2, Kotlin 2.1.0 and JDKUpdater 14.0.67+100; the second release candidate of Vert.x 5.0 and the first release candidate of Maven 4.0.0.

By Michael Redlich

© 2024   Created by Michael Levin.   Powered by

Badges  |  Report an Issue  |  Terms of Service