home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / protocol / tcpip / 3876 < prev    next >
Encoding:
Internet Message Format  |  1992-07-28  |  1.9 KB

  1. Path: sparky!uunet!news.univie.ac.at!blekul11!frmop11!dearn!esoc!mpace
  2. Organisation: European Space Operation Centre (E.S.O.C)
  3. Date: Monday, 27 Jul 1992 10:46:10 CET
  4. From: <MPACE@ESOC.BITNET>
  5. Message-ID: <92209.104610MPACE@ESOC.BITNET>
  6. Newsgroups: comp.protocols.tcp-ip
  7. Subject: Brdcast datagram size problem
  8. Lines: 50
  9.  
  10. Hi netters,
  11.  
  12. we are currently implementing a library, on top of UDP, which supports
  13. reliable broadcast as well as point-to-point transmission.
  14.  
  15. The implementation is based on the Berkeley socket under SunOS 4.1.2
  16. and tries to hide to the programmers the socket details, providing a more
  17. user-friendly interface.
  18.  
  19. The problem we have encountered concerns the size of the datagram one
  20. can send using such interface.
  21.  
  22. In particular, we discovered that we can send datagrams of up to
  23. 16KBytes (setting the send buffer size with the SO_SNDBUF socket
  24. option) when we use point-to-point transmission, but we can send ONLY
  25. MUCH SMALLER DATAGRAMS (less than 2KBytes) when using BROADCAST.
  26.  
  27. In practice, what happens is that the "sendmsg" primitive we are using
  28. returns (in the case of broadcast) with an "message too long" error.
  29.  
  30. Does anyone know if this is a limitation of the socket interface (in
  31. case of broadcast) ? Or is some of our assumptions wrong ?
  32.  
  33. Any help will be appreciated. Cheers.
  34.  
  35. Marco & Andrea.
  36.  
  37.  
  38.    Andrea Baldi
  39.    Bitnet  : abaldi@esoc.bitnet
  40.    Uucp    : unido!esoc.bitnet!abaldi
  41.  
  42.    European Space Agency (ESA)
  43.    European Space Operations Center (ESOC)
  44.  
  45.    Robert-Bosch-Str 5
  46.    D-6100 DARMSTADT West-Germany
  47.  
  48.    Phone 0049-6151-902762
  49.    Fax   0049-6151-90-495  Tlx: 419453
  50.  
  51.  
  52.  
  53. -------------------------------------------------------------------------
  54. Marco Pace, Software Engineer
  55. ESOC, Robert-Bosch-Strasse 5, D-6100 Darmstadt, Germany
  56. E-mail: MPACE@ESOC.BITNET
  57. Voice:  +49 (0)6151 903065
  58. Fax:    +49 (0)6151 904065
  59. -------------------------------------------------------------------------
  60.