SocketPrim Patch

D.J.Steinitz D.J.Steinitz@ukc.ac.uk
Tue, 18 Jun 2002 09:41:50 +0100


Simon,

Here's the patch to allow the setting of TTL in the IP header.
I can now send whatever value I like.

Many thanks for all your help.

Dominic.

Index: SocketPrim.hsc
===================================================================
RCS file: /cvs/fptools/hslibs/net/Attic/SocketPrim.hsc,v
retrieving revision 1.12.2.5
diff -r1.12.2.5 SocketPrim.hsc
590a591,593
> #ifdef IP_TTL
>     | TimeToLive    {- IP_TTL       -}
> #endif
621a625,627
> #ifdef IP_TTL
>     TimeToLive   -> #const IPPROTO_IP
> #endif
661a668,670
> #endif
> #ifdef IP_TTL
>     TimeToLive    -> #const IP_TTL