Re: how to implement TCP using RAW sockets

2001-03-03 Thread E.B. Dreger
> Read the man pages on socket -- then follow the suggestions > in "SEE ALSO" and read those man pages. Of course, getting a hold of > Unix Network Programming 2nd Ed. (vol 1 is enough) will be immensely > helpful. You may also want to look for some programs on the net that > use raw sockets

Re: how to implement TCP using RAW sockets

2001-03-03 Thread Steve Shah
Hi Guru, Read the man pages on socket -- then follow the suggestions in "SEE ALSO" and read those man pages. Of course, getting a hold of Unix Network Programming 2nd Ed. (vol 1 is enough) will be immensely helpful. You may also want to look for some programs on the net that use raw socke

Re: Deamon with perl

2001-03-03 Thread Wes Peters
Jonathan Graehl wrote: > > > > $local_socket = sockaddr_in($port, inet_aton(INADDR_ANY) ); > > > > > > to > > > > > > $local_socket = sockaddr_in($port,INADDR_ANY ); > > > > > > now is working fine on FBSD 3.x. > > > > Ah. Ick. Perl. Bleh. > > He'd have the same problem in C (except that the

RE: Deamon with perl

2001-03-03 Thread Jonathan Graehl
> > $local_socket = sockaddr_in($port, inet_aton(INADDR_ANY) ); > > > > to > > > > $local_socket = sockaddr_in($port,INADDR_ANY ); > > > > now is working fine on FBSD 3.x. > > Ah. Ick. Perl. Bleh. He'd have the same problem in C (except that the compiler would catch it - INADDR_ANY is not a st

how to implement TCP using RAW sockets

2001-03-03 Thread guru chakravarthy
hai As a final year UG project we are doing implementation of TCP with some modifications to it using IP Raw sockets in linux can any one show me some help pages where i can find help on Raw socket implementation and other details . Is there any such implementation help on the net . ? I

Re: Deamon with perl

2001-03-03 Thread Wes Peters
Paulo Fragoso wrote: > > On Fri, 2 Mar 2001, Wes Peters wrote: > > > Paulo Fragoso wrote: > > > > > > Hi, > > > > > > I've written a little server using perl, it's working fine using FBSD 4.x > > > but when I try with FBSD 3.x it don't work: > > > > > > bind: Can't assign requested address at ..