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

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


> +    if (res < 0) {
> +        // destiny needs more granular error hndling
> +        errno = ENOTCONN;
> +        return -1;
> +    }
> +
> +    return (ssize_t)res;
> +}
> +
> +ssize_t send(int socket, const void *buffer, size_t length, int flags)
> +{
> +    int32_t res = sock_func_wrapper(destiny_socket_send, socket, buffer,
> +                                    (uint32_t) length, flags);
> +
> +    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#r7973800
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20131127/8927da25/attachment.html>


More information about the notifications mailing list