$Date$
$Revision$
-- Initialise socket with an_address.
-- Initialise socket with Net2 id a_socket_id in connected state.
-- Carriage return character code
-- (From EM_NETWORK_CONSTANTS)
-- Used for listening on all network interfaces
-- (From EM_NETWORK_CONSTANTS)
-- Used as destination when sending a message to all clients
-- on a subnet that allows broadcasts
-- (From EM_NETWORK_CONSTANTS)
-- Used for listening on all network interfaces
-- (From EM_NETWORK_CONSTANTS)
-- Line feed character code
-- (From EM_NETWORK_CONSTANTS)
-- Highest valid value for a socket port
-- (From EM_NETWORK_CONSTANTS)
-- Maximum size of a UDP packet
-- (From EM_NETWORK_CONSTANTS)
-- Lowest valid value for a socket port
-- (From EM_NETWORK_CONSTANTS)
-- EiffelMedia network subsystem is
-- (From EM_SHARED_SUBSYSTEMS)
-- Server address
-- max serialization count
-- (From EM_NETWORK_CONSTANTS)
-- Set max_serialization_count to a_count.
-- If UDP is used this value should be *less* than Max_udp_packet_size.
-- (From EM_NETWORK_CONSTANTS)
-- Is socket trying to connect to server?
-- Is an_ip_string a valid IP string?
-- (From EM_NETWORK_HELPER_FUNCTIONS)
-- Connect to server.
-- (From EM_SOCKET)
-- Set address to an_address.
-- Set host ip of address.
-- an_ip_string has to be in the format 'xy.xy.xy.xy'.
-- Set hostname of address.
-- Set port of address.
-- Convert a 16 bit value from network byte order (big endian) to the
-- byte order of this system.
-- (From EM_NETWORK_HELPER_FUNCTIONS)
-- Convert a 32 bit value from network byte order (big endian) to the
-- byte order of this system.
-- (From EM_NETWORK_HELPER_FUNCTIONS)
-- Convert an_ip_string to an integer ip.
-- (From EM_NETWORK_HELPER_FUNCTIONS)
-- Convert a 16 bit value from the byte order of the this system
-- to network byte order (big endian).
-- (From EM_NETWORK_HELPER_FUNCTIONS)
-- Convert a 32 bit value from the byte order of the this system
-- to network byte order (big endian).
-- (From EM_NETWORK_HELPER_FUNCTIONS)
-- Connection closed event
-- Connected event
-- Connection failed event
-- Data received event
-- Is socket open?
-- (From EM_SOCKET)
-- Handle connection closed.
-- Handle connection established.
-- Handle connection failed.
-- Handle data received event.
-- (From EM_SOCKET)
-- Socket id of Net2
-- (From EM_SOCKET)
A TCP client socket that can be connected to a remote host.
The remote host is identified by an EM_INET_SOCKET_ADDRESS which
can be set through set_hostname and set_port or set_address.