INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES

indexing

title: "Datagram socket. Supports datagrams, which are connectionless, unreliable buffers of a fixed (typically small) maximum length. Uses UDP for the Internet address family."
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_SOCKET
inherit

ESL_SOCKET
end
creation

make,
make_bound,
make_bound_and_connected,
make_connected
feature -- Queries

frozen type: INTEGER
feature -- Operations

receive_data (dgram: ESL_DATAGRAM_PACKET; flags: BIT 32): INTEGER
-- Receive datagram on the socket.
-- Number of characters actually received is returned.
require
is_bound: is_bound

send_data (dgram: ESL_DATAGRAM_PACKET; flags: BIT 32): INTEGER
-- Send datagram to a specific destination.
-- Number of characters actually sent is returned.
require
has_destination: is_connected or dgram.address_is_set
end -- class ESL_DATAGRAM_SOCKET

INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES