From owner-freebsd-net Fri Jan 24 6:42: 1 2003 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5E6C637B401 for ; Fri, 24 Jan 2003 06:42:00 -0800 (PST) Received: from hotmail.com (f16.law15.hotmail.com [64.4.23.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F07843F7E for ; Fri, 24 Jan 2003 06:42:00 -0800 (PST) (envelope-from soheil_hh@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 24 Jan 2003 06:41:34 -0800 Received: from 62.60.130.14 by lw15fd.law15.hotmail.msn.com with HTTP; Fri, 24 Jan 2003 14:41:34 GMT X-Originating-IP: [62.60.130.14] From: "soheil soheil" To: vlm@netli.com Cc: freebsd-net@freebsd.org Subject: Re: The socket sendto INVALID ARGUMENT ERROR returned Date: Fri, 24 Jan 2003 14:41:34 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 24 Jan 2003 14:41:34.0664 (UTC) FILETIME=[B158B480:01C2C3B6] Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I'm afraid I made a mistake ;) But what is the error about THANX >From: Lev Walkin >To: soheil soheil >CC: freebsd-net@freebsd.org >Subject: Re: The socket sendto INVALID ARGUMENT ERROR returned >Date: Fri, 24 Jan 2003 00:53:30 -0800 > >soheil soheil wrote: >>Dear all >>I wrote a code to send a tcp packet on a raw socket, >>but the sendto function return some errors on argument >>what can make this error occur ??? >>thanx >>the code : >>char datagram[4096]; >>..... >>socket(s, SOCK_RAW, IPPROTO_TCP); > >s = socket(AF_INET, ........); > > >-- >Lev Walkin >vlm@netli.com _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message