network-related delays can offer you no more than several seconds delay.
The best approach is, indeed, a buffering application-level daemon.
--
Lev Walkin
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
bpcap-tutorial.html
After you become familiar with libpcap, the bpf manual page will not
seem obscure at all.
Also, look at the trafd or ipcad daemons in the ports collection
(/usr/ports/net).
--
Lev Walkin
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freeb
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
? Do gizmos make you grin?
http://www.msn.co.in/Computing/Gizmos/ Click here!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECT
seriously, there is a solution for your problem. Add a -n to your
numerous -v's. You probably don't want to spend precious tcpdump's time
to resolve IPs it captures, while losing data.
--
Lev Walkin
[EMAIL PROTECTED]
___
[EMAIL PRO
erely says that the TCP implementation _itself_ should not shrink
window after establishing a TCP connection. If the default dictates 4k,
the TCP implementation will use 4k and will not advertise a much smaller
window without having accepted that much data.
--
Lev
t;0) {
printf("Error in connect: %s\n",strerror(errno));
return -1;
}
freeaddrinfo(res);
res=NULL;
s=sizeof(addr);
err=getsockname(sock,(struct sockaddr*)&addr,&s);
if (err<0) {
printf("Error in getsockname: %s\n",strerr
param[strlen(param)-2] = '\0';
=== cut ===
Suppose the buffer holds the following data: " ".
param=strstr(buf, " "); will pass.
param!=NULL will yield true
*param++ = 0 will put \0 instead of the space.
strlen(param) will yield 0.
param[-2] = '\0'
len, 0, (struct sockaddr*)&cliaddr,
clilen);
}
return 0;
_
_______
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail t
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
--
Lev Walkin
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.
10 matches
Mail list logo