[Haskell-cafe] Re: "getServiceEntry: does not exist" on Windows
Joel Reymont
joelr1 at gmail.com
Wed Oct 19 11:39:30 EDT 2005
I'm running this code at the ghci prompt by loading foo.hs and then
running main. Don't know if this helps.
On Oct 19, 2005, at 4:35 PM, Joel Reymont wrote:
>
> *** Exception: getServiceEntry: does not exist (no such service entry)
> [...]
> connect :: HostName -> Int -> IO Handle
> connect h p = connectTo h $ PortNumber $ fromIntegral p
>
> main = withSocketsDo $ do
> connect "10.0.0.1" 15667
--
http://wagerlabs.com/
More information about the Haskell-Cafe
mailing list