- ext
- clib
- socket.pl -- Network socket (TCP and UDP) library
- uid.pl -- User and group management on Unix systems
- unix.pl -- Unix specific operations
- syslog.pl
- filesex.pl -- Extended operations on files
- uri.pl -- Process URIs
- process.pl -- Create processes and redirect I/O
- time.pl -- Time and alarm library
- sha.pl -- SHA secure hashes
- crypt.pl
- memfile.pl
- uuid.pl -- Universally Unique Identifier (UUID) Library
- hash_stream.pl -- Maintain a hash on a stream
- md5.pl -- MD5 hashes
- streampool.pl -- Input multiplexing
- cgi.pl -- Read CGI parameters
- prolog_stream.pl -- A stream with Prolog callbacks
- udp_broadcast.pl -- A UDP broadcast proxy
- rlimit.pl
- clib
- udp_broadcast_initialize(+IPAddress, +Options) is semidet
- Initialized UDP broadcast bridge. IPAddress is the IP address on the
network we want to broadcast on. IP addresses are terms
ip(A,B,C,D)
or an atom or string of the formatA.B.C.D
. Options processed:- scope(+ScopeName)
- Name of the scope. Default is
subnet
. - subnet_mask(+SubNet)
- Subnet to broadcast on. This uses the same syntax as IPAddress. Default classifies the network as class A, B or C depending on the the first octet and applies the default mask.
- port(+Port)
- Public port to use. Default is 20005.
- method(+Method)
- Method to send a message to multiple peers. One of
- broadcast
- Use UDP broadcast messages to the LAN. This is the default
- multicast
- Use UDP multicast messages. This can be used on WAN networks, provided the intermediate routers understand multicast.
- unicast
- Send the messages individually to all registered peers.
For compatibility reasons Options may be the subnet mask.