loftar wrote:
Unfortunately, there are some thing that don't have a common POSIX interface, such as fetching the destination address of incoming UDP packets.
recvfrom(2). To be more preicse: src_addr which is sockaddr_in. It has both port and source address. But maybe i misunderstood you. If you really mean _destination_ then yeah. But that only make's sense for when you have more than one network interface.
loftar wrote:
Perhaps. There are a couple of things I like with BDB, though, such as its robustness (it's quite hard to break a BDB database) and its "multiple databases in one file" feature. But certainly, it is arguable that I should check out the alternatives.
Yeah, i agree. That's about personal preferences, needs and experience. But learning something new is always fun

Of course only when you have time to spare.