Sponsored Content
Full Discussion: IRC, DCC send and DCC get.
Top Forums UNIX for Beginners Questions & Answers IRC, DCC send and DCC get. Post 303038505 by jim mcnamara on Wednesday 4th of September 2019 10:59:17 PM
Old 09-04-2019
Can you please define what you mean =
when I send from another foreign box (can I assume it has network access and IRC software?)

That is another way of phrasing part of your question. In either phrasing instance, it sounds odd to me.

So we do not have to assume too many things and give you poor answers, please tell us your OS and shell as well.
 

8 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

Irc??

hi there everybody.. i just noticed that there is no forum dedicated to internet relay chat (IRC)... although there are several threads focused on this, i think it is quite better if there is a forum where questions on IRC are tackled head-on in a purely academic level... anyway, this is just... (4 Replies)
Discussion started by: cable21
4 Replies

2. UNIX for Dummies Questions & Answers

IRC and Root

dear members... i am a newbie to unix, i am using the SUSE professional 9.2 i noticed many places, that when i am using IRC , i shouldn't be logged into the root account.. also when i switch the GPSdrive, it mentions to me that it is not goo to be logged thru the root account. what is wrong if... (4 Replies)
Discussion started by: 9613315400
4 Replies

3. UNIX for Dummies Questions & Answers

Where is Mozilla IRC Client on SuSE?

I have grown to love the IRC client built into the windows version of the Mozilla web browser. I bring up the browser and put irc:// into the URL drop down box and the IRC client pops up in a seperate window. However, when I use the Mozilla browser in SuSE 10, it just says "illegal protocol" or... (1 Reply)
Discussion started by: siegfried
1 Replies

4. Shell Programming and Scripting

How to setup a shell to use IRC behind firewall help

So, I have a free shell from an online provider which offer IRC access, I am behind a firewall blocking all IRC ports @ work, how can I use the Shell to get on IRC from work? What do I need to setup on the shell to be able to connect to the shell on the ssh port which allows connections from work,... (10 Replies)
Discussion started by: KromiX
10 Replies

5. UNIX for Dummies Questions & Answers

My domain name as my IRC hostname?

When I connect to any IRC server, it's usually my ISP IP address/hostname. I own a domain, but I'm not using it for anything (no web hosting service or server). Is it possible for me to use my domain as my IRC hostname instead of my regular ISP hostname? (0 Replies)
Discussion started by: guitarscn
0 Replies

6. Shell Programming and Scripting

Using ii for irc chat - scripting assistance?

I am using ii for irc on my pogoplug... hxxp://hg.suckless.org/ii/file/d163c8917af7/FAQ If you look at the bottom of there, it states 31 What other fancy stuff can I do with ii? 32 ---------------------------------------- 33 It is very easy to write irc bots in ii: 34... (3 Replies)
Discussion started by: spartan2006
3 Replies

7. SCO

Irc port

does anyone know of a port of irc like irssi for unixware? thanks (3 Replies)
Discussion started by: deus-programmer
3 Replies

8. UNIX for Dummies Questions & Answers

How does IRC obtain the users in a channel?

I'm on an IRC server where the command /names is not a valid command. However, on programs like mIRC and Mibbit, the users in the channel still show up on the GUI where it displays the channel users. What command is being used to obtain the user list? (2 Replies)
Discussion started by: daigo
2 Replies
POE::Component::IRC::Plugin::DCC(3pm)			User Contributed Perl Documentation		     POE::Component::IRC::Plugin::DCC(3pm)

NAME
POE::Component::IRC::Plugin::DCC - A PoCo-IRC plugin providing support for DCC transfers SYNOPSIS
# send a file my $file = '/home/user/secret.pdf'; my $recipient = 'that_guy'; $irc->yield(dcc => $recipient => SEND => $file); # receive a file sub irc_dcc_request { my ($user, $type, $port, $cookie, $file, $size, $addr) = @_[ARG0..$#_]; return if $type ne 'SEND'; my $irc = $_[SENDER]->get_heap(); my $nick = (split /!/, $user)[0]; print "$nick wants to send me '$file' ($size bytes) from $addr:$port "); $irc->yield(dcc_accept => $cookie); } DESCRIPTION
This plugin provides the IRC commands needed to make use of DCC. It is used internally by POE::Component::IRC so there's no need to add it manually. METHODS
"new" Takes no arguments. Returns a plugin object suitable for feeding to POE::Component::IRC's "plugin_add" method. "dccports" Sets the TCP ports that can be used for DCC sends. Takes one argument, an arrayref containing the port numbers. "nataddr" Sets the public NAT address to be used for DCC sends. "dcc_info" Takes one argument, a DCC connection id (see below). Returns a hash of information about the connection. The keys are: 'nick', 'type', 'port', 'file', 'size', 'done,', and 'peeraddr'. COMMANDS
The plugin responds to the following POE::Component::IRC commands. "dcc" Send a DCC SEND or CHAT request to another person. Takes at least two arguments: the nickname of the person to send the request to and the type of DCC request (SEND or CHAT). For SEND requests, be sure to add a third argument for the filename you want to send. Optionally, you can add a fourth argument for the DCC transfer blocksize, but the default of 1024 should usually be fine. The fifth (and optional) argument is the request timeout value in seconds (default: 300). Incidentally, you can send other weird nonstandard kinds of DCCs too; just put something besides 'SEND' or 'CHAT' (say, 'FOO') in the type field, and you'll get back "irc_dcc_foo" events (with the same arguments as "irc_dcc_chat") when data arrives on its DCC connection. If you are behind a firewall or Network Address Translation, you may want to consult POE::Component::IRC's "connect" for some parameters that are useful with this command. "dcc_accept" Accepts an incoming DCC connection from another host. First argument: the magic cookie from an "irc_dcc_request" event. In the case of a DCC GET, the second argument can optionally specify a new name for the destination file of the DCC transfer, instead of using the sender's name for it. (See the "irc_dcc_request" section below for more details.) "dcc_resume" Resumes a DCC SEND file transfer. First argument: the magic cookie from an "irc_dcc_request" event. An optional second argument provides the name of the file to which you want to write. "dcc_chat" Sends lines of data to the person on the other side of a DCC CHAT connection. The first argument should be the wheel id of the connection which you got from an "irc_dcc_start" event, followed by all the data you wish to send (it'll be separated with newlines for you). "dcc_close" Terminates a DCC SEND or GET connection prematurely, and causes DCC CHAT connections to close gracefully. Takes one argument: the wheel id of the connection which you got from an "irc_dcc_start" (or similar) event. OUTPUT EVENTS
"irc_dcc_request" Note: This event is actually emitted by POE::Filter::IRC::Compat, but documented here to keep all the DCC documentation in one place. In case you were wondering. You receive this event when another IRC client sends you a DCC (e.g. SEND or CHAT) request out of the blue. You can examine the request and decide whether or not to accept it (with "dcc_accept") here. In the case of DCC SENDs, you can also request to resume the file with "dcc_resume". Note: DCC doesn't provide a way to explicitly reject requests, so if you don't intend to accept one, just ignore it or send a NOTICE or PRIVMSG to the peer explaining why you're not going to accept. o "ARG0": the peer's nick!user@host o "ARG1": the DCC type (e.g. 'CHAT' or 'SEND') o "ARG2": the port which the peer is listening on o "ARG3": this connection's "magic cookie" o "ARG4": the file name (SEND only) o "ARG5": the file size (SEND only) o "ARG6": the IP address which the peer is listening on "irc_dcc_start" This event notifies you that a DCC connection has been successfully established. o "ARG0": the connection's wheel id o "ARG1": the peer's nickname o "ARG2": the DCC type o "ARG3": the port number o "ARG4": the file name (SEND/GET only) o "ARG5": the file size (SEND/GET only) o "ARG6": the peer's IP address "irc_dcc_chat" Notifies you that one line of text has been received from the client on the other end of a DCC CHAT connection. o "ARG0": the connection's wheel id o "ARG1": the peer's nickname o "ARG2": the port number o "ARG3": the text they sent o "ARG4": the peer's IP address "irc_dcc_get" Notifies you that another block of data has been successfully transferred from the client on the other end of your DCC GET connection. o "ARG0": the connection's wheel id o "ARG1": the peer's nickname o "ARG2": the port number o "ARG3": the file name o "ARG4": the file size o "ARG5": transferred file size o "ARG6": the peer's IP address "irc_dcc_send" Notifies you that another block of data has been successfully transferred from you to the client on the other end of a DCC SEND connection. o "ARG0": the connection's wheel id o "ARG1": the peer's nickname o "ARG2": the port number o "ARG3": the file name o "ARG4": the file size o "ARG5": transferred file size o "ARG6": the peer's IP address "irc_dcc_done" You receive this event when a DCC connection terminates normally. Abnormal terminations are reported by "irc_dcc_error". o "ARG0": the connection's wheel id o "ARG1": the peer's nickname o "ARG2": the DCC type o "ARG3": the port number o "ARG4": the filename (SEND/GET only) o "ARG5": file size (SEND/GET only) o "ARG6": transferred file size (SEND/GET only) o "ARG7": the peer's IP address "irc_dcc_error" You get this event whenever a DCC connection or connection attempt terminates unexpectedly or suffers some fatal error. Some of the following values might be undefined depending the stage at which the connection/attempt failed. o "ARG0": the connection's wheel id o "ARG1": the error string o "ARG2": the peer's nickname o "ARG3": the DCC type o "ARG4": the port number o "ARG5": the file name o "ARG6": file size in bytes o "ARG7": transferred file size in bytes o "ARG8": the peer's IP address AUTHOR
Dennis '"fimmtiu"' Taylor and Hinrik Oern Sigur`sson, hinrik.sig@gmail.com perl v5.14.2 2011-12-07 POE::Component::IRC::Plugin::DCC(3pm)
All times are GMT -4. The time now is 06:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy