Op woensdag 25 juni 2003 14:43, schreef Christian Axelsson:
> Let's say that I have two clients running.
> Client1 is connected to Net1 and Net2.
> Client2 is connected to Net3.
>
> I /set irssiproxy_ports Net1=10001 Net2=10002 Net3=10003
>
> Now i load the proxymodule on Client1. Cool, no visible errors :)
> Now i lood it on Client2.
>
> Irssi: Proxy: Listen in port 10001 failed: Address already in use
> Irssi: Proxy: Listen in port 10002 failed: Address already in use
> Irssi: Proxy: Listen in port 10003 failed: Address already in use
> Irssi: Loaded module proxy/irc

Then do /set irssiproxy_ports Net1=10001 Net2=10002 on client 1
and /set irssiproxy_ports Net3=10003 on client 2
Yes, if it would only bind the ones you're connected to, that might seem 
simpler for you, but that causes other problems, for example the ones you 
pointed out:
> A problem with this
> approach is what is going to happen when I connect to Net3 in two
> clients (but thats a problem now aswell).
> Also what will happen when I disconnect from a net? Should the socket
> stay connected or should we disconnect the client using the proxy (if
> any)?
And those problems are imo worse (and will effect more people, i don't think a 
lot of people run 2 irssi-proxies with the same config) than just setting the 
correct settings in your 2 clients running irssi-proxy.

Greets,

Wouter.


Reply via email to