I'm afraid I made a mistake ;)
But what is the error about
THANX
From: Lev Walkin <[EMAIL PROTECTED]>
To: soheil soheil <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
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
[EMAIL PROTECTED]
_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to