URL General Syntax

URLs are text strings that allow a resource such as a file or other object to be labeled based on its location on an internetwork and the primary method or protocol by which it may be accessed. URLs have become the most common type of URI used for application layer addressing in TCP/IP because of their simplicity.

URLs consist of two components that identify how to access a resource on a TCP/IP internetwork: the location of the resource and the method to be used to access it. These two pieces of information, taken together, allow a user with the appropriate software to obtain, read, or otherwise work with many different kinds of resources, such as files, objects, programs, and much more.

The most general form of syntax for a URL ...

Get TCP/IP Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.