| Standard ML Basis Library |
signature NET_HOST_DB =
sig
eqtype in_addr
eqtype addr_family
type entry
val name : entry -> string
val aliases : entry -> string list
val addrType : entry -> addr_family
val addr : entry -> in_addr
val addrs : entry -> in_addr list
val getByName : string -> entry option
val getByAddr : in_addr -> entry option
val getHostName : unit -> string
val scan : (char, 'a) StringCvt.reader -> (in_addr, 'a) StringCvt.reader
val fromString : string -> in_addr option
val toString : in_addr -> string
end
Type detail |
---|
eqtype in_addr
eqtype addr_family
type entry
Value detail |
---|
val aliases : entry -> string list
val addrType : entry -> addr_family
val addrs : entry -> in_addr list
val getByName : string -> entry option
val getByAddr : in_addr -> entry option
val getHostName : unit -> string
val scan : (char, 'a) StringCvt.reader -> (in_addr, 'a) StringCvt.reader
val fromString : string -> in_addr option
val toString : in_addr -> string
| Standard ML Basis Library |
This document may be distributed freely over the internet as long as the copyright notice and license terms below are prominently displayed within every machine-readable copy.
Copyright © 2003 AT&T and Lucent Technologies. All rights reserved.
Permission is granted for internet users to make one paper copy for their
own personal use. Further hardcopy reproduction is strictly prohibited.
Permission to distribute the HTML document electronically on any medium
other than the internet must be requested from the copyright holders by
contacting the editors.
Printed versions of the SML Basis Manual are available from Cambridge
University Press.
To order, please visit
www.cup.org (North America) or
www.cup.cam.ac.uk (outside North America). |