[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Edlug Archive Mar 2004 ]

Re: [edlug] Socket programing problem...



On Thu, 2004-02-26 at 16:52, Jonathan Brown wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Datagrams just get trimmed down to size when they don't fit. There is no
> fragmentation.
> 
> Jonathan Brown
> http://emergence.uk.net/

I think there is fragmentation:
http://www.cisco.com/warp/public/105/pmtud_ipfrag.html#first


but thanks anyway.
Cheers,
Paul.


> 
> 
> Paul Redmond wrote:
> | Hi,
> |
> | On a Mandrake 9.2 box, coding in c++ (socket.h) ...
> |
> | I'm trying to send a 2k datagram through a UDP broadcast socket. Now
> | only the first 1500 bytes go through, as expected because of the MTU.
> |
> | I was expecting a second datagram to follow ie the .5k+header fragment
> | but nada.
> |
> | I checked and there seems to be a DF flag (don't fragment) in the ip
> | header which I suspect is causing the problem. I haven't been able to
> | find out how to set it to allow fragmenting.
> |
> | Anyone have any experience with this ?
> |
> | Cheers,
> | Paul
> |
> | -
> | ----------------------------------------------------------------------
> | You can find the EdLUG mailing list FAQ list at:
> | http://www.edlug.org.uk/list_faq.html
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
> 
> iD8DBQFAPiRomany35ffRscRAlLuAKCYq3XQSoXN7tcz2rwfWgHMUjaDqgCgolMW
> 6KU4sjt6ZHyX6zo4tuu39Co=
> =VRoe
> -----END PGP SIGNATURE-----

-
----------------------------------------------------------------------
You can find the EdLUG mailing list FAQ list at:
http://www.edlug.org.uk/list_faq.html



This archive is kept by wibble@morpheux.org.DONTSPAMME
homepage