TCP/IP problems

Joel Sherrill <joel@OARcorp.com> joel.sherrill at OARcorp.com
Sat Jul 24 15:27:26 UTC 2004


Did either Greg's or Thomas' suggestion work out?

It makes the list archives more useful when people
indicate what suggestions worked. :)

--joel

gregory.menke at gsfc.nasa.gov wrote:
> Stan writes:
>  > 
>  > ----- Original Message ----- 
>  > From: "Thomas Doerfler" <Thomas.Doerfler at imd-systems.de>
>  > To: "Stan" <zylog at club-internet.fr>
>  > Sent: Thursday, July 22, 2004 8:51 AM
>  > Subject: Re: TCP/IP problems
>  > 
>  > 
>  > > Hello Stan,
>  > >
>  > > could you give a bit more details? how big is your
>  > > "buffer" and which value has "n" in your case? What
>  > > exactly happens at the other end of the TCP/IP
>  > > connection (Linux/Windows host)?
>  > >
>  > > wkr,
>  > > Thomas.
>  > 
>  > 
>  > The 'buffer' is very small ( 22 bytes ) and write returns
>  > always 22 bytes.
>  > With Linux host, the number of bytes received is bigger than on
>  > Windows host.
>  > 
>  > I missed a detail : if I take a period of 100 ticks between each write call,
>  > it works properly; ( performance is not terrible ;-) ).
>  > 
>  > Since many weeks,I search and I don't understand this problem...
>  > 
>  > Stan.
>  > 
> 
> Your task thats sending data may have a priority higher than the
> network tasks do, so it keeps running and doesn't allow them any cpu
> time.
> 
> Gregm
> 
> 


-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
    Support Available             (256) 722-9985




More information about the users mailing list