xtcp_wait_for_connection hangs

Technical questions regarding the XTC tools and programming with XMOS.
stefanharjes
Member
Posts: 13
Joined: Wed Jun 01, 2011 7:33 pm

xtcp_wait_for_connection hangs

Post by stefanharjes »

Hi all,

after I upgraded the tcp/ip stack from 2v0 to 3v1 I have a problem building up a tcp connection. I simply call:

Code: Select all

  xtcp_connect(tcp_svr, 8080, server, XTCP_PROTOCOL_TCP);
  conn = xtcp_wait_for_connection(tcp_svr);
where I try to connect to a tomcat server on my local box (192.168.7.1). With2v0 the connection was build up at once, whereas with 3v1 the system waits at the second line for ever. I have looked at the tcp traffic using tcpdump and have attached the dump for both versions.

One can see the successful dhcp connection buildup. Then the xtcp_connect call begins with the lookup of the server address, but I do not know enough details about tcp/ip to understand why there is no tcp connection being made. Any hints would be appreciated

Thanks

Stefan
You do not have the required permissions to view the files attached to this post.