home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!news.univie.ac.at!blekul11!frmop11!dearn!esoc!mpace
- Organisation: European Space Operation Centre (E.S.O.C)
- Date: Monday, 27 Jul 1992 10:46:10 CET
- From: <MPACE@ESOC.BITNET>
- Message-ID: <92209.104610MPACE@ESOC.BITNET>
- Newsgroups: comp.protocols.tcp-ip
- Subject: Brdcast datagram size problem
- Lines: 50
-
- Hi netters,
-
- we are currently implementing a library, on top of UDP, which supports
- reliable broadcast as well as point-to-point transmission.
-
- The implementation is based on the Berkeley socket under SunOS 4.1.2
- and tries to hide to the programmers the socket details, providing a more
- user-friendly interface.
-
- The problem we have encountered concerns the size of the datagram one
- can send using such interface.
-
- In particular, we discovered that we can send datagrams of up to
- 16KBytes (setting the send buffer size with the SO_SNDBUF socket
- option) when we use point-to-point transmission, but we can send ONLY
- MUCH SMALLER DATAGRAMS (less than 2KBytes) when using BROADCAST.
-
- In practice, what happens is that the "sendmsg" primitive we are using
- returns (in the case of broadcast) with an "message too long" error.
-
- Does anyone know if this is a limitation of the socket interface (in
- case of broadcast) ? Or is some of our assumptions wrong ?
-
- Any help will be appreciated. Cheers.
-
- Marco & Andrea.
-
-
- Andrea Baldi
- Bitnet : abaldi@esoc.bitnet
- Uucp : unido!esoc.bitnet!abaldi
-
- European Space Agency (ESA)
- European Space Operations Center (ESOC)
-
- Robert-Bosch-Str 5
- D-6100 DARMSTADT West-Germany
-
- Phone 0049-6151-902762
- Fax 0049-6151-90-495 Tlx: 419453
-
-
-
- -------------------------------------------------------------------------
- Marco Pace, Software Engineer
- ESOC, Robert-Bosch-Strasse 5, D-6100 Darmstadt, Germany
- E-mail: MPACE@ESOC.BITNET
- Voice: +49 (0)6151 903065
- Fax: +49 (0)6151 904065
- -------------------------------------------------------------------------
-