Sign in

username or email:

password:



Not a member?
Forgot your Password?

Search rabbit-semi



Search tips

Subscribe to rabbit-semi



Discussion Groups

See Also

DSPFPGA

Discussion Groups | Rabbit-Semi | BL2600 TCP connection limit

This is a group for folks designing and programming embedded systems using the Rabbit Semiconductor C-programmable microcontroller. This group is not affiliated with either Rabbit or Z-World, but is a user forum for sharing ideas, asking questions, flaunting knowledge, and other typical user group stuff. The Rabbit is a powerful uC, supported by a full-featured C-compiler.


So far in May, you have voted 0 times ou of a total of 20 votes by the community.
Please help us clean the archives from unuseful discussion threads by using the voting system! Details here.


Is this thread worth a thumbs up?

-2

BL2600 TCP connection limit - Hao Wu - May 30 19:03:11 2012

Hi guys,

In my application the BL2600 is going to open 5 tcp connection
simultaneously. But unfortunately I found that it seems unable to open 5
sockets at the same time.

4x sockets work well, but when it tries to open the 5th, either unable to
open, or lose one which has been opened.

I'm using *tcp_extopen()* to open tcp connection, and set
*MAX_TCP_SOCKET_BUFFERS
= 20*. This macro setting makes no difference at all. I observed *
_tcp_buffers[MAX_TCP_SOCKET_BUFFERS],* the array of assigned socket
address, when I change the *MAX_TCP_SOCKET_BUFFERS* value, the array size
changes as well. But only the first four elements have non-zero value. i.e.
being assigned, although I called 5x *tcp_extopen()*.

I'm using DC9.62. Not sure if I missed anything. Do you have similar
experience? Thanks a lot!

Regards,
Hao



(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )