INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES

indexing

title: "A datagram transferred using connectionless UDP protocol"
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_DATAGRAM_PACKET
inherit

STRING
end
creation

adapt,
make,
make_from_string,
make_with_address
feature -- Creation

make_with_address (init_data: STRING; addr: ESL_INTERNET_HOST_ADDRESS; port: INTEGER)
-- Create a ready-to-be-sent datagram packet.
-- The datagram contents are initialized from `init_data',
-- provided it is not Void
feature -- Address queries

address_is_set: BOOLEAN

get_address: ESL_INTERNET_HOST_ADDRESS
-- Retrieve the destination address of the datagram

get_port: INTEGER
-- Retrieve the destination port of the datagram
feature -- Address assignment

set_address (new_address: ESL_INTERNET_HOST_ADDRESS)
-- Set the new destination address of the datagram

set_port (new_port: INTEGER)
-- Set the new destination port of the datagram
end -- class ESL_DATAGRAM_PACKET

INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES