<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><p>Hi, I have a problem when I am trying to use a binary file generated by ghc make in Windows.</p>  <p><br>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.<br></p>  <p>I use make like this:</p>  <p>ghc --make -package HaXml Main.hs HermesService.hs .....</p>  <p>What could be the problem?<br></p>  <p>I am using HaXml 1.13.2 with Ghc 6.6.1, thanks in advance.</p>  <p>&nbsp;</p>  <p>Alvaro Sejas</p>  <p>UMSS</p>  <p>Cochabamba - Bolivia</p></div><br>
      <hr size=1><br><font face="Verdana" size="-2">Enviado desde Correo Yahoo!<br><a href="http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=52432/*http://es.docs.yahoo.com/mail/overview/index.html">El buzón de correo sin límite de almacenamiento.</a>.<br></font>  </body></html>