Page 1 of 1

TCP_ERR_NONE_AVAIL (-5)

Posted: Wed Jul 01, 2009 10:34 am
by kb2lap
Hi I'm receiving this error sometimes when I try to establish a TCP connection.
I'm using the MOD5282.

What does this mean exactly?

Thanks,
Victor

Re: TCP_ERR_NONE_AVAIL (-5)

Posted: Wed Jul 01, 2009 10:39 am
by pbreed
It means the system is out of TCP sockets.
Are you closing the sockets when you are done with them?

Even if you get an error you still need to close the socket.

Re: TCP_ERR_NONE_AVAIL (-5)

Posted: Wed Jul 01, 2009 10:44 am
by kb2lap
Hi Paul,

Thanks for the reply.

You mean the NetBurner is running out of sockets? How many can I have open?
I do close them when I'm done with them, I call close() and set the fd to -1.

Regards,
Victor