From cb595c56d41b0c38be69a2265d820d4107b0c8a4 Mon Sep 17 00:00:00 2001 From: stefan11111 Date: Tue, 8 Oct 2024 13:53:09 +0300 Subject: remove some magic numbers, clean up DCC ipv4/ipv6 global variable mess and use a union to save memory. (#139) Co-authored-by: Emeka Nkurumeh --- README.md | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index ac238eb..3f5f7a5 100644 --- a/README.md +++ b/README.md @@ -15,11 +15,29 @@ Building and installing from source: Consult `man kirc` for a full list and explanation of available arguments. - kirc [-s hostname] [-p port] [-c channels] [-n nickname] [-r realname] - [-u username] [-k password] [-a token] [-o logfile] [-e|x|v|V] + kirc [-s hostname] [-p port] [-c channels] [-n nickname] [-r realname] [-a auth] + [-u username] [-k password] [-a token] [-o logfile] [-D directory] [-4|6|d|e|x|v|V] ## DCC - DCC transfers are always accpeted without user interaction and downloaded to the current directory. + DCC transfers are only accepted if the -d flag is passed to kirc. + If -d is passed to kirc, DCC transfers are always accpeted without user interaction + and downloaded to the configured directory. + If no directory is set with the -D option, files are downloaded to the current directory. + + ## DCC SEND + DCC SEND is only enabled if the -d flag is passed to kirc. + You can send files via DCC SEND using the folowing command: + /dcc + If you are sending files to clients outside of your lan, you must + make sure that the chosen port is open and forwarded to + the sending machine's internal address. + Thus is usually done from your router's settings. + For example: + /dcc dcc_client /home/user/upload/file.txt 192.168.1.100 12.34.56.78 10000 + This command would send the file located at /home/user/upload/file.txt to the nick + dcc_client, assuming the sending machine's local ip is 192.168.1.100, and + the sending machine's external ip is 12.34.56.78, and that the port 10000 + is open and forwarded to the sending machine's local address. ## Command Aliases -- cgit v1.2.3