socketlib.txt - bsd socket emulation library for Minix Claudio Tantignone - ctantignone@hotmail.com 22 March 2004 ---------------------------------------------------------------- file to download: socketlib.taz This is an emulation library to use standard socket calls in programs under Minix. Tested under 2.0.2 and 2.0.4 (32bits). The library creates the calls to Minix networking calls. There are a few routines available now. These ones allows to succesfully compile some tools like - OpenSSL - lynx - stunnel Installation like # make install You need to include into your program #include and while compiling # cc -l socket ... to have the networking support. Any feedback is welcome [descriptive file edited by ASW 2005-03-27] socketlib v0.3.0 update Jakub Wesolowski February 2020 ---------------------------------------------------------------- This update adds more BSD socket fuctionality from OpenBSD source code to Minix. It was made for SSH 2.1.1p4 to compile on Minix. Tested only on Minix 2.0.3, but should work also on 2.0.2. Requires select() system call to compile. It should allow for more network programs written for BSD sockets to compile and work on Minix. Changes: - commented out some code to not collide with select() system call implementation, which adds the same code already. - removed fake select() implementation for the actual select() to work - changed the names of "sockaddr" structure to be compatible with OpenBSD - added "sockaddr_un" and "linger" structures from OpenBSD - added many socket defines from OpenBSD for the network programs to compile - added "getpeername" implementation - fixed a bug in mnx_bind() when detecting "ANY" IP address - moved "syslog" define to bsdports library Installation is the same as in previous version described by Claudio Tantignone.