Network problem with TCP packets
- From: "Mattia" <mattia.andreolli@xxxxxxxxx>
- Date: 7 Sep 2005 08:20:57 -0700
Hi,
I'm using VxWorks 5.5, with a pc104 board of Ampro, and a Intel 82559
Network Interface.
I'm developing an application that sends packet at 5Hz over a TCP
socket.
I'm using two type of messages, their size are 296 and 100 bytes.
The destination is a Java application, but now I'm trying to use a C++
application too.
The message arrive correctly, I can see the values inside every struct
are ok.
But after a while(10 seconds, or 1 minutes, or 5 minutes), the system
freezes and it doesn't send any more packet.
When I send the smallest message (100 bytes), the application seems
more stable, and with a 8bytes message, it IS stable, and goes on
whitout problems.
I tried to increase the SOL_SNDBUF, until 52428 bytes (=0xcccc; I've
read that in a 20/10/1998 post), but the beheaviour remains the same.
There is no priority problem, I think: I have 98% IDLE time (I can see
that with Spy Chart). And no stack problem too...
I've checked the network memory pool: I've noticed that after a while,
the free clusters begin to running out, at first the 512-size ones,
then the 256, and so on until there are no more free clusters, and the
socket closes itself.
So, any idea or suggestion, please ?
Help!
.
- Follow-Ups:
- Re: Network problem with TCP packets
- From: Michael Lawnick
- Re: Network problem with TCP packets
- Prev by Date: Re: Workbench 2.2 build specs missing?
- Next by Date: Re: werid build problem
- Previous by thread: Re: Workbench 2.2 build specs missing?
- Next by thread: Re: Network problem with TCP packets
- Index(es):
Relevant Pages
|