GreenScape wrote:But actually, if you were following strictly POSIX it's not that much of porting...
Unfortunately, there are some thing that don't have a common POSIX interface, such as fetching the destination address of incoming UDP packets.
GreenScape wrote:Actually BDB is pain in the ass. It has a lot of cons. You should better consider Tokyo Cabinet and co.
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.