From owner-freebsd-hackers Mon Mar 10 0:21: 3 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E775E37B408 for ; Mon, 10 Mar 2003 00:20:59 -0800 (PST) Received: from popcs.cs.tin.it (popcs.cs.tin.it [194.243.155.125]) by mx1.FreeBSD.org (Postfix) with SMTP id AEEE243FE1 for ; Mon, 10 Mar 2003 00:20:58 -0800 (PST) (envelope-from freebsd@cs.tin.it) Received: (qmail 2928 invoked from network); 10 Mar 2003 08:20:56 -0000 Received: from cruiser.cs.tin.it (HELO cruiser) (212.216.178.193) by popcs.cs.tin.it with SMTP; 10 Mar 2003 08:20:56 -0000 Date: Mon, 10 Mar 2003 09:20:32 +0100 From: Ferruccio Vitale To: freebsd-hackers@freebsd.org Subject: Re: divert socket Message-Id: <20030310092032.2fc71b8d.freebsd@cs.tin.it> X-Mailer: Sylpheed version 0.8.10claws (GTK+ 1.2.10; i386-portbld-freebsd4.7) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I try to explain better my problem: when my daemon tries to read from this socket, recv tells me it read 68 bytes, for example, which is about message size at application layer, but what I read is not I expect (string without sense). Is there a particular way to read from a raw socket or a divert socket? Ferruccio To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message