TCP_ERR_NONE_AVAIL (-5)

Discussion to talk about software related topics only.
Post Reply
kb2lap
Posts: 2
Joined: Wed Jul 01, 2009 10:21 am

TCP_ERR_NONE_AVAIL (-5)

Post 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
User avatar
pbreed
Posts: 1088
Joined: Thu Apr 24, 2008 3:58 pm

Re: TCP_ERR_NONE_AVAIL (-5)

Post 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.
kb2lap
Posts: 2
Joined: Wed Jul 01, 2009 10:21 am

Re: TCP_ERR_NONE_AVAIL (-5)

Post 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
Post Reply