RE: Socket

2001-08-09 Thread Simon Marlow
> Koen writes: > > > accept :: Socket -> IO (Handle, HostName, PortNumber) > > > > Unfortunately, this is a blocking function, which means that > > the whole program blocks when it is waiting for a > > connection. > [..] > > Ideally, I would like to integrate this with the function > > "hSele

Re: Socket

2001-08-09 Thread Keith Wansbrough
Koen writes: > accept :: Socket -> IO (Handle, HostName, PortNumber) > > Unfortunately, this is a blocking function, which means that > the whole program blocks when it is waiting for a > connection. [..] > Ideally, I would like to integrate this with the function > "hSelect" from the Select m

Socket

2001-08-09 Thread Koen Claessen
Hi, I am implementing a modest webserver using GHC (as an example program). I am using the Socket library. In the Socket library, the following function is provided: accept :: Socket -> IO (Handle, HostName, PortNumber) Unfortunately, this is a blocking function, which means that the whole p

RE: GC options. Reply

2001-08-09 Thread Simon Marlow
> Hello! > > On Tue, Aug 07, 2001 at 10:47:50AM +0100, Simon Marlow wrote: > > > - Compacting garbage collection is enabled when the residency > > reaches a certain percentage of the maximum heap size (if there > > is one). > > Could there be the possibility to set an absolute amount

RE: shared libraries in sun solaris

2001-08-09 Thread Simon Marlow
> we are writing a haskell program that does a calculation for > an intranet > application. We assume that at peak times, several thousand > users are going > to use the program at the same time. > Our problem is, that our binary file has several MBs and we > don't know how > to compile it (