Skip to Content
Palm OS Network Programming
book

Palm OS Network Programming

by Greg Winton
September 2001
Intermediate to advanced
400 pages
11h 23m
English
O'Reilly Media, Inc.
Content preview from Palm OS Network Programming

Chapter 7. Hostnames and Addresses

Now that we’ve connected to the network, we can start accessing network services such as FTP servers, web sites, and electronic mail. In order to access one of these services, we need to connect with the host on which it runs and the process on that host that provides that service. Before we can connect with this host and process, we need to identify them.

In this chapter, we discuss hostname resolution, the process through which hosts are identified. We also examine service resolution, which identifies the appropriate process on that host, such as an FTP server or chat peer. And we see how the Palm OS Net Library supports name and service resolution. Along the way, we discuss general networking issues as they arise from the standpoint of how these are solved with the Net Library.

Hostname Resolution

Let’s say you wanted to call me on the phone. You would need my phone number, since it uniquely identifies me on the telephone network. So when you dial my number, only my phone rings. But what if you don’t know my phone number?

You could call directory assistance or look me up in the phone book. These methods bridge the gap between humans and the telephone network. The telephone network understands phone numbers, humans prefer names.

Network applications face the same challenge. Like phone networks, computer networks prefer to work with numeric addresses. On TCP/IP networks, such as the Internet, a host’s address is represented as a 32-bit integer, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Palm OS Programming, 2nd Edition

Palm OS Programming, 2nd Edition

Julie McKeehan, Neil Rhodes
Leo Laporte’s Guide to Safe Computing

Leo Laporte’s Guide to Safe Computing

Leo Laporte, Mark Edward Soper, Andy Walker
Office 2003 XML

Office 2003 XML

Simon St. Laurent, Mary McRae, Evan Lenz

Publisher Resources

ISBN: 0596000057Catalog PageErrata