[Haskell-cafe] Re: "getServiceEntry: does not exist" on Windows

Joel Reymont joelr1 at gmail.com
Wed Oct 19 12:06:21 EDT 2005


This fails also but the C call to getprotobyname succeeds.

Prelude> Network.BSD.getProtocolByName "tcp"
*** Exception: getServiceEntry: does not exist (no such service entry)

On Oct 19, 2005, at 4:51 PM, Joel Reymont wrote:

> I checked my Windows protocol file in system32/drivers/etc and it has
>
> tcp      6     TCP      # Transmission control protocol
>
> Still, I get the following:
>
> Prelude> Network.BSD.getProtocolNumber "tcp"
> *** Exception: getServiceEntry: does not exist (no such service entry)

--
http://wagerlabs.com/







More information about the Haskell-Cafe mailing list