From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id JAA10964 for caml-redistribution@pauillac.inria.fr; Mon, 13 Mar 2000 09:02:40 +0100 (MET) Resent-Message-Id: <200003130802.JAA10964@pauillac.inria.fr> Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id UAA23208 for ; Fri, 10 Mar 2000 20:05:26 +0100 (MET) Received: from tobago.inria.fr (tobago.inria.fr [128.93.8.21]) by concorde.inria.fr (8.8.7/8.8.7) with ESMTP id UAA06366 for ; Fri, 10 Mar 2000 20:05:26 +0100 (MET) Received: (from doligez@localhost) by tobago.inria.fr (8.6.10/8.6.6) id UAA18259 for caml-list@inria.fr; Fri, 10 Mar 2000 20:05:23 +0100 Date: Fri, 10 Mar 2000 20:05:23 +0100 From: Damien Doligez Message-Id: <200003101905.UAA18259@tobago.inria.fr> To: caml-list@inria.fr Subject: Re: multi-threaded udp resolver Resent-From: weis@pauillac.inria.fr Resent-Date: Mon, 13 Mar 2000 09:02:39 +0100 Resent-To: caml-redistribution@pauillac.inria.fr >From: Julian Assange >While ocaml provides appropriate udp send/receive functions, the best >mechanism for understanding the structure of dns packets is unknown to >me. What you describe looks like a parsing problem to me. I would try to use ocamlyacc or stream parsers if I had to solve your problem. But I've never done anything like that, so I can't guarantee it's really the best way to do it. -- Damien