wg-multicast - Re: SAP storm from 145.19.1.183
Subject: All things related to multicast
List archive
- From: Niels den Otter <>
- To:
- Subject: Re: SAP storm from 145.19.1.183
- Date: Mon, 23 Jun 2008 08:02:34 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
Niels den Otter wrote:
> I'm not sure if this is 'the bug', but I got an answer from the person
> that initiated the SAP stream yesterdam.
>
> He was setting up a miniSAP server (VLC) to announce a session via SDR.
> This appeared to work too good. Problem was in the announcement
> interval. The documentation said that the announcement interval should
> be provided in seconds, while the sourcecode would have a
> usleep(interval) so in microseconds.
I got some more information. He was using version 0.3.4, and changed the
following in sapserver.cpp:
- --- sapserver.cpp 2007-03-11 13:20:57.000000000 +0100
+++ sapserver.cpp.patched 2008-06-23 07:40:20.000000000 +0200
@@ -270,7 +270,7 @@
/* Wait for next sending */
if(should_exit)
break;
- - nanosleep( &delay, NULL );
+ sleep(30);
}
}
This was just to get the announcement interval correct (for him).
However it was still not clear to him why the original sleep was so
short
struct timespec
{
time_t tv_sec; /* seconds */
long tv_nsec; /* nanoseconds */
};
This should indicate that the sleep was in seconds. Compilation was done
with GCC 3.3.4 under Linux 2.4.34 SMP.
- -- Niels
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkhfPHoACgkQDxUhWEap0R6/MwCeJ9Bp7DGgR8PFtRKwFtpNBt5s
qT8AoILFHjaHtiTKJ8ipYmF6EH/toUWK
=EFOC
-----END PGP SIGNATURE-----
- Re: SAP storm from 145.19.1.183, (continued)
- Re: SAP storm from 145.19.1.183, Zenon Mousmoulas, 06/20/2008
- Re: SAP storm from 145.19.1.183, Frank Fulchiero, 06/20/2008
- Re: SAP storm from 145.19.1.183, A . L . M . Buxey, 06/20/2008
- Re: SAP storm from 145.19.1.183, Frank Fulchiero, 06/20/2008
- fixing miniSAP, Marc Manthey, 06/22/2008
- Re: fixing miniSAP, Zenon Mousmoulas, 06/23/2008
- Re: SAP storm from 145.19.1.183, Zenon Mousmoulas, 06/20/2008
- Re: SAP storm from 145.19.1.183, Jean-François Florence, 06/23/2008
- Re: SAP storm from 145.19.1.183, Zenon Mousmoulas, 06/23/2008
- RE: OID to count # of SAP announcements recevied, Luis Marta, 06/20/2008
- Re: SAP storm from 145.19.1.183, Zenon Mousmoulas, 06/23/2008
- RE: SAP storm from 145.19.1.183, Richard Mavrogeanes, 06/19/2008
- Re: SAP storm from 145.19.1.183, Jeff Fitzwater, 06/23/2008
- RE: SAP storm from 145.19.1.183, Andrew O'Shea, 06/23/2008
- Re: SAP storm from 145.19.1.183, Zenon Mousmoulas, 06/26/2008
Archive powered by MHonArc 2.6.16.