At 10:59 22/01/2003 -0500, you wrote:
>Non tu n a tjrs pas compris deux deamon peuvent ecouter le meme port sur
>des ip differente

Bon apres mainte lecture de tous le sujet je croi avoir compris!!!
LOL (j'ai failli m'enerver mais j'ai relu a 2 fois.)

tcpserver sais faire ca :

[quote http://cr.yp.to/ucspi-tcp/tcpserver.html]

The

tcpserver

 program

tcpserver accepts incoming TCP connections.

      tcpserver opts host port prog

opts is a series of getopt-style options. host is one argument. port is one 
argument. prog consists of one or more arguments.

....

The server's address is given by host and port. port may be a name from 
/etc/services or a number; if it is 0, tcpserver will choose a free TCP port.

[ et enfin ce qui nous interesse!!! ]

host may be 0, allowing connections to any local IP address; or a 
dotted-decimal IP address, allowing connections only to that address; or a 
host name, allowing connections to the first IP address for that host. Host 
names are fed through <http://cr.yp.to/djbdns/qualify.html>qualification 
using dns_ip4_qualify.
...
[/quote]

Donc oui tu peu forcer a ecouter sur une adresse specifique!!!!!!



Heeeeeuuuuuuuu.......
J'ai bon cette fois? 




--
Liste de diffusion qmailfr - http://qmail.free.fr/


        
        
        

Répondre à