irc

How to connect to IRC server/ parse IRC MSGs / PING-PONG handling in C language (code provided)

心不动则不痛 提交于 2019-12-06 14:54:42
问题 am writing IRC client in C lang. and encountered some problems while connecting to serwer. I get the following when i run the program: OUTPUT Set Fully Qualified host Domain Name(human readable): ::automaticaly provided:: Set the port number of the server You want to connect to: ::automaticaly provided:: Destination server IP: 88.190.23.245 Socket descriptor: 3 Connection has been successfully established Peer's IP is: 88.190.23.245 Peer's port is: 5190 :irc2.gbatemp.net NOTICE AUTH :***

Can P2P be done without port forwarding?

怎甘沉沦 提交于 2019-12-06 14:42:20
问题 I was making a simple file transfer program through IRC and when I was reading up I saw that IRC when sharing a file creates a direct connection between the two users independent of the server (DCC, Direct Client Connect). After searching a while I have found this: Direct Connect and Advanced Direct Connect. None of these pages answer this question that I can't get out of my head: Is P2P data transfer possible without any user doing a special port-forward? An intermediate server which helps

My Ruby IRC bot doesn't connect to the IRC server. What am I doing wrong?

余生颓废 提交于 2019-12-06 04:37:40
问题 require "socket" server = "irc.rizon.net" port = "6667" nick = "Ruby IRC Bot" channel = "#0x40" s = TCPSocket.open(server, port) s.print("USER Testing", 0) s.print("NICK #{nick}", 0) s.print("JOIN #{channel}", 0) This IRC bot doesn't connect to the IRC server, What am I doing wrong? 回答1: It failed with this message: :irc.shakeababy.net 461 * USER :Not enough parameters so change your code. For example, this one works: require "socket" server = "irc.rizon.net" port = "6667" nick = "Ruby IRC

IRC Bot: Error - Registration Timeout

久未见 提交于 2019-12-06 03:05:54
问题 I'm making a simple IRC Bot in C. And I finally got the bot connecting and receiving information. My code is supposed to be sending as well, but the server is acting as if it is not sending anything. When The bot connects, I receive this: Recieved: :roc.esper.net NOTICE AUTH :*** Looking up your hostname... Recieved: :roc.esper.net NOTICE AUTH :*** Found your hostname at which point my code sends this: Sent: NICK Goo Sent: USER Goo * * :Goo I determined from using wireshark that this is the

Best tutorial for application multicasting? [closed]

别说谁变了你拦得住时间么 提交于 2019-12-06 00:12:07
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . I've recently become aware that there's a distinction between IP multicasting (which apparently doesn't work that well on the public internet) and application multicasting (which is apparently used in IRC and PSYC, per http://en.wikipedia.org/wiki/Multicast). Is there a good tutorial on implementing application

IRC USER message makes no sense to me

让人想犯罪 __ 提交于 2019-12-05 02:58:15
First, please tell me if I'm not allowed to ask about this protocol here... It just seemed like the best place. Sorry if I'm wrong. So according to wikipedia the USER message goes like the following: USER username hostname servername :realname What's the difference between hostname and servername? Thanks. RFC 1459 states in section 4.1.3: Note that hostname and servername are normally ignored by the IRC server when the USER command comes from a directly connected client (for security reasons), but they are used in server to server communication. USER command from RFC1459 is modified in RFC2812

Upgrading socket to SSLSocket with STARTTLS: recv failed

烈酒焚心 提交于 2019-12-05 01:01:04
问题 I am trying to upgrade a socket to an SSLSocket using STARTTLS. On InspIRCd's wiki this is how its supposed to work >> STARTTLS << :test2.chatspike.net 670 nickname :STARTTLS successful, go ahead with TLS handshake (SSL Handshake) So in my code I've written (slightly simplified) else if (code.equals("670")) { SSLSocketFactory sslSocketFactory = ((SSLSocketFactory) SSLSocketFactory.getDefault()); SSLSocket sslSocket = (SSLSocket) sslSocketFactory.createSocket( socket, socket.getInetAddress()

How to connect to IRC server/ parse IRC MSGs / PING-PONG handling in C language (code provided)

你说的曾经没有我的故事 提交于 2019-12-04 22:41:29
am writing IRC client in C lang. and encountered some problems while connecting to serwer. I get the following when i run the program: OUTPUT Set Fully Qualified host Domain Name(human readable): ::automaticaly provided:: Set the port number of the server You want to connect to: ::automaticaly provided:: Destination server IP: 88.190.23.245 Socket descriptor: 3 Connection has been successfully established Peer's IP is: 88.190.23.245 Peer's port is: 5190 :irc2.gbatemp.net NOTICE AUTH :*** Looking up your hostname... :irc2.gbatemp.net NOTICE AUTH :*** Found your hostname (cached) Type Your nick

Can P2P be done without port forwarding?

旧街凉风 提交于 2019-12-04 18:18:41
I was making a simple file transfer program through IRC and when I was reading up I saw that IRC when sharing a file creates a direct connection between the two users independent of the server (DCC, Direct Client Connect). After searching a while I have found this: Direct Connect and Advanced Direct Connect . None of these pages answer this question that I can't get out of my head: Is P2P data transfer possible without any user doing a special port-forward? An intermediate server which helps set up the connection (as in the IRC examples) is allowed. The data transfer itself must be independent

IRC library for Android (From 2.3.3 to 4.0.3 )? [closed]

China☆狼群 提交于 2019-12-04 14:59:52
Closed. This question is off-topic . It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . Is there any android-compatible (from 2.3.3 to 4.0.3) IRC library for Android ? As of yet I am unable to find one, and any assistance is appreciated! Try http://www.yaaic.org They have the souce in GitHub https://github.com/pocmo/Yaaic/ 来源: https://stackoverflow.com/questions/11131853/irc-library-for-android-from-2-3-3-to-4-0-3