1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00
freebsd-ports/net/anet/pkg-descr
John Marino 55e2264671 Add new port net/anet (Ada IPv4 and IPv6 sockets binding library)
The ANet library was created on Linux and the unfortunate result is that
it is highly Linux-specific.  Luckily it has an implementation testsuite,
so patches to make it work on BSD can be reasonably tested.  The current
status is annoted in pkg-message:

=========================================================================
Beware of the IPv6 multicast functions.  Sending does work, but the
default interface effectively is invalid on *BSD.  A specific interface
needs to be provided rather than leaving interface blank (zero).

Multicast receiving may not currently work.  The test for IPv6 multicast
fails.  The test chunk is sent (verified with separate monitoring tool)
but never detected.  Hopefully the cause will be understood and fixed
soon.

AF_NETLINK and AF_PACKET protocols are not supported by *BSD, so the
associated tests have been removed.  Every test other than IPv6 Multicast
passes.  You may want to replace "em0" with this system's interface in
the test suite is to be run (see files/patch-tests_socket__tests.adb).
2014-02-25 14:57:07 +00:00

21 lines
640 B
Plaintext

Anet is a networking library for the Ada programming language featuring:
* BSD socket implementation
* High abstraction level
* Extendable socket type hierarchy
* Socket receiver tasks (Stream and Datagram)
* Ada type serialisation/deserialisation over sockets
* Supported socket families
- IPv4 (AF_INET)
- IPv6 (AF_INET6)
- UNIX domain (AF_UNIX)
- Linux only: Packet (AF_PACKET)
- Linux only: Netlink (AF_NETLINK)
* Supported socket modes
- Stream (TCP)
- Datagram (UDP)
- RAW
* Support for IPv4/IPv6 multicast
* UDP/IPv4 packet creation and validation
WWW: http://www.codelabs.ch/anet/