setting multiple IP addresses

2003-03-12 Thread David Myer
Hi, Can anyone tell me how to set multiple IP addresses for one interface in UNIX/LINUX ? Thanks Dave __ Do you Yahoo!? Yahoo! Web Hosting - establish your business online http://webhosting.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] wi

UDP socket receive size

2003-03-05 Thread David Myer
Hi, I am setting SO_RCVBUF for UDP socket to 64000 using setsockopt, when sending 8K data using sendto, and recvfrom back from inetd echo service, the length returned from recvfrom is always 4K, why is this ?How can I read a large data back from UDP ( > 4K ) then ? Appreciate the help Dave

inetd behavior etc

2003-03-03 Thread David Myer
Hi, Anyone knows how inetd services will behave under stress situation ? I have a socket program that sends large amount of data over n number of connections to inetd echo servire using UDP, (echo_dg) and trying to compare data on receive, I notice that when n increases (> 8), program does not b

Data payload in SYN packet

2002-11-01 Thread David Myer
Hi, Just curious on one thing, we know that SYN packet can carry data payload, but I never see any implementation that actually does this. Nor have I seen code that checks or handles this in receive function. Is there a reason NOT doing so ? Thanks DM _