[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-net
Subject:    Re: telnet/ftp/rlogin/rsh not working between Linux machines. (fwd)
From:       Arnt Gulbrandsen <agulbra () troll ! no>
Date:       1998-11-01 20:45:05
[Download RAW message or body]

> Or you could add a hear() system call that would return a struct
> something *, which could be checked for stuff like source and
> destination address and port before calling accept()...

Not sufficient.  When you've checked it, what can you do?  accept()
now or later.  getpeername() on a select()able socket can do what you
suggest hear() should, but a reject() call is absolutely necessary.

--Arnt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic