> > corect.clientul comunica in retea ip-ul propriu si portul pe care asculta.
>                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> n-o fi si ip-ul trecut in interiorul pachetului, la fel ca portul?

Din pacate, da:

http://www.lwave.ca/shasta/protocol.html

$ConnectToMe
The client may send $ConnectToMe to cause a peer to initiate a
peer-to-peer connection for the purpose of transfering data.

        $ConnectToMe <remoteNick> <senderIp>:<senderPort> 
      * <senderIp> and <senderPort> are the host and port that the
        client wishes <remoteNick> to connect to.
      * <remoteNick> is the remote user that should initiate the
        connection.
The server must send this message unaltered to <remotenick>.
<remotenick> must open a TCP connection to <senderIp>:<senderPort>. I'm
not sure of the protocol from there in.


Poate nu e cel mai relevant mesaj, ideea e ca clientul isi transmite
propriul ip in corpul mesajului.

Cine se ofera sa scrie modul de conntrack de dc? Ala eu, ala eu...

Petre.


--- 
Detalii despre listele noastre de mail: http://www.lug.ro/


Raspunde prin e-mail lui