UDP error

Ian Caddy ianc at microsol.iinet.net.au
Thu Jul 8 07:08:08 UTC 2004


Hi Angelo,

errno.h has the errno information in it.  Error number 105 is:

#define ENOBUFS 105	/* No buffer space available */


Regards,

Ian Caddy


Angelo Fraietta wrote:

> I have been sometimes getting an error 105 when sending to the udp. The 
> function in the library is
> 
> 
> static  bool sendudp(const struct sockaddr *sp, int sockfd,int length, 
> int count, void  *b)
> {
>   int rcount;
>   if((rcount=sendto(sockfd, b, count, 0, sp, length)) != count)
>     {
>     printf("sockfd %d count %d rcount %dlength %d errno %d\n",
>             sockfd,count,rcount,length, errno);
>     return FALSE;
>     }
>   return TRUE;
> }
> 
> I get the return message
> sockfd 3 count 20 recount -1 length 16 errno 105
> 
> Does anyone know what errno 105 is?



More information about the users mailing list