INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES

indexing

title: "Internet host IP address. Incapsulates IN_ADDR structure."
project: "Visual Eiffel Library"
revision: "$Revision: 1.1 $"
copyright: "Copyright (C) 1996-2005 Object Tools Group"
license: "http://visual-eiffel.com/license"
cluster: sockets
expanded class ESL_INTERNET_HOST_ADDRESS
inherit

ESL_SOCKETS_API
redefine
out
end

ESL_SOCKETS_CONST
redefine
out
end
creation

make_any
feature -- Queries

get_host_name: STRING
-- Internet host name associated with address (e.g. "OBJECT-TOOLS.COM").
-- This name is usually obtained from DNS database.
-- If the system fails to obtain the host name, Void is returned.

get_ip_address: STRING
-- Internet IP address in dotted decimal form (e.g. "209.64.64.197")

get_raw_ip_address: BIT 32
-- Get raw IP address (in _host_ byte order)
feature -- Operations

make_any
-- Make address accepting any connection.
-- This is the default creation procedure

make_broadcast
-- Make address for sending broadcast messages

make_loopback
-- Make address for sending loopback messages

make_from_address (address: STRING)
require
good_address: address /= void and then not address.is_empty

set_raw_ip_address (new_address: BIT 32)
-- Set raw IP address directly (`new_address' must be in _host_
-- byte order)
feature -- Printing

out: STRING
end -- class ESL_INTERNET_HOST_ADDRESS

INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES