History log of /haiku/src/kits/network/libnetapi/Socket.cpp
Revision Date Author Comments
# 611d3d78 28-Nov-2023 Augustin Cavalier <waddlesplash@gmail.com>

BSocket: Fix swapped parameters in Bind().

Spotted by X512.


# a31d07a2 01-Aug-2018 Augustin Cavalier <waddlesplash@gmail.com>

libnetapi: Fix style issues in previous commit.


# 0dc3ab4f 01-Aug-2018 Augustin Cavalier <waddlesplash@gmail.com>

libnetapi: Do not use the freebsd11_network headers globally.

Since they were being Use'd at global scope, the FreeBSD versions
of a number of POSIX headers were being used instead of the POSIX ones,
which breaks the build on non-x86 as these headers presently do not work
elsewhere.

Instead, just include the base directory, and then include the compat
headers manually in the one place that actually requires them.
Also fix all the other files that expected errno.h and others to
be included implicitly, which they now are not.

This should fix the PowerPC and (part of the) ARM builds.


# c9dd7d0d 27-Apr-2016 Rene Gollent <rene@gollent.com>

libbnetapi: Extend socket classes.

B{Abstract,Datagram,Secure}Socket:
- Add functionality to listen for and accept new connections, thus allowing
one to use the socket classes for server functionality as well.

BSecureSocket:
- Adjust to take into account differences between how SSL needs to be called
when accepting an incoming connection vs initiating an outbound one.
The handshake on the accepted connection stills fails for unknown reasons
at the moment though.

Note that these changes break the ABI, and thus any packages making use of
them directly will need a rebuild.


# 0e478f5a 21-Nov-2011 Axel Dörfler <axeld@pinc-software.de>

Added experimental version of a Socket API with SSL support.

* Each class has a Socket() method to retrieve the underlaying file descriptor
to be able to do the more advanced stuff, if necessary.
* A server socket is yet missing, but the rest is pretty much covered.


# 0e478f5aec9c927e74e335c03cde8a7f623ddc0b 21-Nov-2011 Axel Dörfler <axeld@pinc-software.de>

Added experimental version of a Socket API with SSL support.

* Each class has a Socket() method to retrieve the underlaying file descriptor
to be able to do the more advanced stuff, if necessary.
* A server socket is yet missing, but the rest is pretty much covered.