haskell-cafe@haskell.org
[Top] [All Lists]

[Haskell-cafe] Problem making a program in ghc

Subject: [Haskell-cafe] Problem making a program in ghc
From: Maverick
Date: Thu, 13 Mar 2008 05:56:21 -0700 PDT

Hi, I have a problem when I am trying to use a binary file generated by ghc make in Windows.


I have writed an application that parses xml files and returns a result (using HaXml), this is published as a service, I implemented a server (withSocketsDo), the server listen the port 5760 in a forever fashion, when a message arrives, then the program creates a new thread (forkIO) for attend the request. This works fine when I run it from ghci, when I make the program and run the binary (in Windows), the requests arrive to the program but I think that the response canÂt be sent because the front end canÂt receive the response (I am calling the service from a .Net web application), I have a log that confirms that the response arrives correctly.

I use make like this:

ghc --make -package HaXml Main.hs HermesService.hs .....

What could be the problem?

I am using HaXml 1.13.2 with Ghc 6.6.1, thanks in advance.

 

Alvaro Sejas

UMSS

Cochabamba - Bolivia




Enviado desde Correo Yahoo!
El buzÃn de correo sin lÃmite de almacenamiento..
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/haskell-cafe
<Prev in Thread] Current Thread [Next in Thread>