[riot-notifications] [RIOT] Posix sockets (#226)

Oleg Hahm notifications at github.com
Thu Nov 28 01:04:25 CET 2013


> +    if (res < 0) {
> +        // destiny needs more granular error hndling
> +        errno = EOPNOTSUPP;
> +        return -1;
> +    }
> +
> +    return res;
> +}
> +
> +int connect(int socket, const struct sockaddr *address, socklen_t address_len)
> +{
> +    int res = sock_func_wrapper(destiny_socket_connect, socket,
> +                                (sockaddr6_t *)address, address_len);
> +
> +    if (res < 0) {
> +        // destiny needs more granular error hndling

C&P typo.

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/226/files#r7973784
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20131127/9ee1249c/attachment.html>


More information about the notifications mailing list