Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Sending message to Http_client
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Gaurav Chanda <gaurav_chanda@l...>
Subject: [Caml-list] Sending message to Http_client
Hello

I am trying to build a small http server that can interact with the existing Http_client module present in the Netclient Library.

I was succesful in establishing connection between the two. The data sent by the client was received sucesfully. However, sending data  back to the client is giving me problems.

I have written a loop in which my server writes "count" characters to the file descripter "fd"., using "Unix.write". The server gets out of the loop. However, on the client side, the function call "XmlRPCNet.handler#run" is not returning. 
It is supposed to store the response of the http request from the server, but is somehow not being able to do that. Or probably, I am doing something wrong.

Could you help me solve this problem ?

Regards
Gaurav


_______________________________________________________
WIN a first class trip to Hawaii.  Live like the King of Rock and Roll
on the big Island. Enter Now!
http://r.lycos.com/r/sagel_mail/http://www.elvis.lycos.com/sweepstakes
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners