Oberon || Library || Module Index || Search Engine || Definition || Module


Ulm's Oberon Library:
InetTCP


NAME

InetTCP - TCP/IP based implementation of Networks

SYNOPSIS

TYPE Address = IPv4TCPSockets.SocketAddress;


PROCEDURE CreateAddress(VAR address: Networks.Address; ipaddr: Address); PROCEDURE ConvertAddress(address: Networks.Address; VAR ipaddr: Address); PROCEDURE SetAddress(address: Networks.Address; ipaddr: Address);

DESCRIPTION

InetTCP is a Networks implementation which is based upon IPv4TCPSockets. CreateAddress takes an IPv4 address and converts it into a newly created general network address. ConvertAddress allows the reverse conversion but requires address to be returned earlier by CreateAddress. SetAddress allows to change a network address. Again, address must originate from InetTCP. General network addresses are persistent objects which allow the interface of Networks to be used which is independent from a particular network implementation.

DIAGNOSTICS

Passing an invalid general network address (i.e. an address which does not originate from InetTCP) to ConvertAddress or SetAddress causes a type guard to fail.

SEE ALSO

IPv4TCPSockets
interface for IPv4 TCP sockets
Networks
general abstraction for network connections

Edited by: borchert, last change: 2004/09/24, revision: 1.3, converted to HTML: 2004/09/24

Oberon || Library || Module Index || Search Engine || Definition || Module