English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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: 2002-06-12 (13:18)
From: Gaurav Chanda <gaurav_chanda@l...>
Subject: [Caml-list] Sending message to Http_client

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 ?


WIN a first class trip to Hawaii.  Live like the King of Rock and Roll
on the big Island. Enter Now!
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