INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES

indexing

title: "A set of auxiliary tools for manipulating sockets"
project: "Visual Eiffel Library"
revision: "$Revision: 1.1 $"
copyright: "Copyright (C) 1996-2005 Object Tools Group"
license: "http://visual-eiffel.com/license"
cluster: sockets
class ESL_SOCKETS_TOOLS
inherit

ESL_SOCKETS_API
end

ESL_SOCKETS_CONST
end

ESL_SOCKETS_EXCEPTIONS
end

MEMORY
end
creation

make
feature -- Creation

make
feature -- Queries

get_local_host_name: STRING

get_local_host: ESL_INTERNET_HOST_ADDRESS

get_address_by_name (name: STRING): ESL_INTERNET_HOST_ADDRESS

get_all_addresses_by_name (name: STRING): ARRAY [ESL_INTERNET_HOST_ADDRESS]
feature -- Operations

select_sockets (read_set, write_set, except_set: ESL_SOCKETS_SET; timeout: ESL_TIMEVAL): INTEGER
-- Determine status of one or more sockets.
-- If `timeout' is Void, the routine will block indefinitely until
-- at least one socket meets the specified criteria.
-- Otherwise, `timeout' is an instance of ESL_TIMEVAL which specifies
-- the maximum time that `select_sockets' should wait before returning.
require
different_sets: (read_set = write_set implies read_set = void) and (write_set = except_set implies write_set = void) and (except_set = read_set implies except_set = void)

get_last_error_code: INTEGER
-- Error code of the last abruptly completed operation
end -- class ESL_SOCKETS_TOOLS

INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES