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

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

Webpack Publishes 2026 Roadmap with Native CSS Support, Universal Target, and Path to Version 6

Webpack's 2026 roadmap, led by Even Stensberg, unveils substantial enhancements aimed at modernizing the bundler. Key features include native CSS module support, universal compilation for various environments, built-in TypeScript support, and a focus on performance optimization. As competitors rise, webpack strives to enhance user experience while preserving its core strengths.

By Daniel Curtis

From Minutes to Seconds: Uber Boosts MySQL Cluster Uptime with Consensus Architecture

Uber redesigned its MySQL fleet using a consensus-driven architecture based on MySQL Group Replication, reducing cluster failover time from minutes to seconds. By moving leader election and failure detection into the database layer, Uber improved availability, simplified external orchestration, and strengthened consistency across thousands of production clusters.

By Leela Kumili

Presentation: From Symptom Checkers to Smart Chatbots: The Role of AI in Virtual Care

Andre Ribeiro discusses the architecture of Healthily’s AI symptom checker. He explains how Bayesian inference and RAG models bridge the gap between medical insights and confident patient action.

By Andre Riberio

AI-Powered Bot Compromises GitHub Actions Workflows Across Microsoft, DataDog, and CNCF Projects

AI-powered bot hackerbot-claw exploited GitHub Actions workflows across Microsoft, DataDog, and CNCF projects over 7 days using 5 attack techniques. Bot achieved RCE in 5 of 7 targets, stole GitHub token from awesome-go (140k stars), and fully compromised Aqua Security's Trivy. Campaign included first documented AI-on-AI attack where bot attempted prompt injection against Claude Code.

By Steef-Jan Wiggers

Uno Platform 6.5 Released With AI Agent Support, Unicode Text, and Studio Improvements

Uno Platform 6.5 introduces Antigravity AI agent support, allowing agents to verify app behavior at runtime. Hot Design now launches by default with a redesigned toolbar and new scope selector. The release also adds Unicode TextBox support for non-Latin scripts, improves WebView2 on WebAssembly, and resolves over 450 community issues across all supported platforms.

By Almir Vuk

© 2026   Created by Michael Levin.   Powered by

Badges  |  Report an Issue  |  Terms of Service