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

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

New Token-Oriented Object Notation (TOON) Hopes to Cut LLM Costs by Reducing Token Consumption

The recently released Token-Oriented Object Notation (TOON) aims to be a schema-aware alternative to JSON that significantly reduces token consumption at a similar level of accuracy. While the existence and importance of token saved depend on the data shape. some benchmarks show TOON may use in some cases 40% fewer tokens than JSON, possibly resulting in LLM and inference cost savings.

By Bruno Couriol

Olmo 3 Release Provides Full Transparency Into Model Development and Training

The Allen Institute for AI has unveiled Olmo 3, an open-source language model family that empowers developers with full access to the model lifecycle, from training datasets to checkpoints. Featuring reasoning-focused variants and robust tools for post-training modifications, Olmo 3 promotes transparency, experimentation, and community collaboration, driving innovations in AI.

By Robert Krzaczyński

Nexla Launches Express: A Conversational Platform for AI Data Engineering

Nexla recently introduced Express, a conversational data engineering platform designed to dramatically lower the barrier for building data pipelines for AI applications.

By Craig Risi

Cloudflare Global Outage Traced to Internal Database Change

Cloudflare’s recent global outage, linked to a database update, caused widespread disruption and highlighted the risks of single-vendor reliance. While service was restored, the incident sparked discussions on the importance of multi-vendor strategies in tech. Cloudflare's CEO vowed to enhance system resilience, emphasizing that outages can impact even the largest providers.

By Steef-Jan Wiggers

Grafana Unveils Smarter Logs, an MCP Server, and TraceQL Upgrades in Latest Releases

Grafana Labs has published major updates across two of its core observability products: Grafana 12.3, and Grafana Tempo 2.9. The two releases have distinct improvements in monitoring, logs, and tracing for Grafana users.

By Matt Saunders

© 2025   Created by Michael Levin.   Powered by

Badges  |  Report an Issue  |  Terms of Service