Only some of these error conditions are directly returned by the socket method implementations, all others are returned by the underlying calls to the specific api functions. As they are currently not guaranteed to honour those error conditions, this documentation should be updated.
This may not be trivial however, as ideally this higher level api would have all possible error conditions without having to refer to the api implementation documentation.
Currently there are a list of failing error conditions for the following methods:
Only some of these error conditions are directly returned by the socket method implementations, all others are returned by the underlying calls to the specific api functions. As they are currently not guaranteed to honour those error conditions, this documentation should be updated.
This may not be trivial however, as ideally this higher level api would have all possible error conditions without having to refer to the api implementation documentation.