Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: "Gaurav Chanda" <gaurav_chanda@lycos.com>
To: caml-list@pauillac.inria.fr
Subject: [Caml-list] Sending message to Http_client
Date: Wed, 12 Jun 2002 06:18:03 -0700	[thread overview]
Message-ID: <AIDIELHADOPIOAAA@mailcity.com> (raw)

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


             reply	other threads:[~2002-06-12 13:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-12 13:18 Gaurav Chanda [this message]
2002-06-12 23:32 ` Shawn Wagner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AIDIELHADOPIOAAA@mailcity.com \
    --to=gaurav_chanda@lycos.com \
    --cc=caml-list@pauillac.inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox