Hi, I use a few channels where they serve files with the style of /dccserver +sc <port>, i.e. where the client has to be already listening on that port, and triggers the start of DCC chat by sending a /CTCP command to the server (NOT a /dcc chat request).
Snooping things with ethereal it looks like it's otherwise the same as a DCC chat, the client just needs to be expecting connection(S) on the given port for DCC stuff. So, how would we go around hacking support for this into irssi? Bear in mind the port probably has to listen for ALL DCC requests, certainly CHAT and SEND from the other end. I've found cmd_dcc_chat() in irssi/irc/dcc/dcc-chat.c which is what /dcc chat <nick> calls. For the chat side of thing we'd want to do something similar to this I suspect. cmd_dcc_get() in dcc-get.c would seem to handle the same kind of thing for /dcc get <nick> <file>. We kind of need to combine the two. I'm looking at hacking this support in myself but it would probably be quicker for someone more familiar with the code to do it, any takers? -Ath -- - Athanasius = Athanasius(at)miggy.org / http://www.miggy.org/ Finger athan(at)fysh.org for PGP key "And it's me who is my enemy. Me who beats me up. Me who makes the monsters. Me who strips my confidence." Paula Cole - ME
msg00623/pgp00000.pgp
Description: PGP signature
