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..