Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jan 2003 00:53:30 -0800
From:      Lev Walkin <vlm@netli.com>
To:        soheil soheil <soheil_hh@hotmail.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: The socket sendto INVALID ARGUMENT ERROR returned
Message-ID:  <3E30FF0A.9000504@netli.com>
References:  <F1174y3Y9MErThctRDi0001213f@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E30FF0A.9000504>