2002-07-05 09:25:52

by Matthias Welk

[permalink] [raw]
Subject: problem: socket receivebuffer size

Hi,

I've a problem with sockets and the receive buffer size.
If the size is smaller than 831 (??) byte, I did not receive udp packets (224
byte) any more.

Syetem:
RedHat 7.2 i386
3Com Corporation 3c905B 100BaseTX [Cyclone]
kernel 2.4.9-31

Thanks, Matthias.
--
---------------------------------------------------------------
From: Matthias Welk office: +49-30-3463-7272
FHG Fokus mobile: +49-179- 1144752
Kaiserin-Augusta-Allee 31 fax : +49-30-3463-8672
10589 Berlin email : [email protected]
----------------------------------------------------------------


2002-07-05 09:35:51

by Matti Aarnio

[permalink] [raw]
Subject: Re: problem: socket receivebuffer size

On Fri, Jul 05, 2002 at 11:28:05AM +0200, Matthias Welk wrote:
> Hi,
>
> I've a problem with sockets and the receive buffer size.
> If the size is smaller than 831 (??) byte, I did not receive udp packets
> (224 byte) any more.

Yes ? Why are you setting it so low ?
Having there some larger value, like 64k, should not harm anything,
quite contrary.

> Syetem:
> RedHat 7.2 i386
> 3Com Corporation 3c905B 100BaseTX [Cyclone]
> kernel 2.4.9-31
>
> Thanks, Matthias.
> 10589 Berlin email : [email protected]

/Matti Aarnio

2002-07-05 11:06:21

by Matthias Welk

[permalink] [raw]
Subject: Re: problem: socket receivebuffer size

On Friday 05 July 2002 11:38, Matti Aarnio wrote:
> On Fri, Jul 05, 2002 at 11:28:05AM +0200, Matthias Welk wrote:
> > Hi,
> >
> > I've a problem with sockets and the receive buffer size.
> > If the size is smaller than 831 (??) byte, I did not receive udp packets
> > (224 byte) any more.
>
> Yes ? Why are you setting it so low ?
> Having there some larger value, like 64k, should not harm anything,
> quite contrary.
>

The problem is, that the size is changed in an other program (Java Media
Framework), where I have no chance to change the size :-(

Thanks, Matthias.
--
---------------------------------------------------------------
From: Matthias Welk office: +49-30-3463-7272
FHG Fokus mobile: +49-179- 1144752
Kaiserin-Augusta-Allee 31 fax : +49-30-3463-8672
10589 Berlin email : [email protected]
----------------------------------------------------------------