Updating the net package

Dominic Steinitz dominic.steinitz@blueyonder.co.uk
Tue, 11 Jun 2002 21:28:04 +0100


I need to update the net package so that I can pass setSocketOption IP_TTL.
This is a one line change. I'm using 5.02.2. There weren't any versions of
Socket.hsc tagged as 5.02.2 in the CVS repository but there was one tagged

Revision 1.2 / (download) - annotate - [select for diffs] , Fri Aug 17
12:51:08 2001 UTC (9 months, 3 weeks ago) by simonmar
Branch: MAIN
CVS Tags: ghc-5-02-branch, ghc-5-02-3, ghc-5-02-1, ghc-5-02
Changes since 1.1: +18 -12 lines
Diff to previous 1.1
Track updates to hslibs/net

I downloaded this and tried to compile but it has the following in it:

instance Show Socket where
  ...

and quite rightly the compiler complains. I'm going to take the latest
version (although it would be nice to know which one was included in
5.02.2).

1. Should I be using

Revision 1.11.2.2 / (download) - annotate - [select for diffs] , Wed Jun 5
16:36:59 2002 UTC (6 days, 3 hours ago) by simonpj
Branch: meta-haskell-branch
Changes since 1.11.2.1: +6 -4 lines
Diff to previous 1.11.2.1 to branchpoint 1.11 next main 1.12
Merge from HEAD up to meta-haskell-merge3

or should I be using

Revision 1.18 / (download) - annotate - [select for diffs] , Fri May 31
14:50:40 2002 UTC (11 days, 5 hours ago) by sof
Branch: MAIN
CVS Tags: HEAD
Changes since 1.17: +3 -3 lines
Diff to previous 1.17
cygwin: let's give UNIX domain sockets a go..

2. Is my naive approach of just recompiling the relevant module going to
work? I'd rather avoid having to build the whole of ghc if I can.

Many thanks, Dominic Steinitz