Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ dot2ip(3) — Purdue Xinu

Media Vault

Software Library

Restoration Projects

Artifacts Sought

DOT2IP(3)

NAME

dot2ip − convert dotted decimal notation to an IP address

SYNOPSIS

int dot2ip(ip, b1, b2, b3, b4)
IPaddr ip;
intb1;
intb2;
intb3;
intb4;

DESCRIPTION

Procedure dot2ip converts an Internet (IP) address from dotted decimal notation to its 32-bit integer form and stores it in argument ip.  Each of the arguments b1, b2, b3, and b4, gives the value of one byte of the internet address. 

December 01, 1986  —  Xinu Programmer’s Manual

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026