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

Oleg Hahm notifications at github.com
Thu Nov 28 01:05:26 CET 2013


> +        return -1;
> +    }
> +
> +    return (ssize_t)res;
> +}
> +
> +ssize_t sendto(int socket, const void *message, size_t length, int flags,
> +               const struct sockaddr *dest_addr, socklen_t dest_len)
> +{
> +    int32_t res = sock_func_wrapper(destiny_socket_sendto, socket, buffer,
> +                                    (uint32_t) length, flags,
> +                                    (sockaddr6_t *)dest_addr,
> +                                    (socklen_t)dest_len);
> +
> +    if (res < 0) {
> +        // destiny needs more granular error hndling

s/hndling/handling/

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


More information about the notifications mailing list