does anyone know how you go about streaming text to a IRC server?
I have a game server, and i'd like to stream the chat to IRC. I can get the chat as a string within a C# program..
Anyone know how to do this? Or a good resource to look at?
Cheers
Write an IRC bot.
Use an existing IRC library or use the RFC describing the IRC protocol to develop your own, to write an IRC bot that will be able to send text to the channel.
Related
After looking for hours I still can't find how should I set up sending an audio using Discord.net 1.0. All of the solutions I encountered have been for pre-1.0 relases and as far as I can see, new API is completly different.
So my question is: How do i join voice channel and send music through? Do I need external libraries (NAudio)?
If someone is looking for Audio example it's here. You also need opus and libsodium in bot running directory. You can get this libraries on Discord "Discord API" sever with command ?tag voice-natives.
I'm developing a chat application using signalR and I finished the text chat but I'm wondering if signalR support the audio and video messages ?? and if it does what are the best way to implement it i have read the wiki on github i have implemented all the chat appilcation using a simple text chat but i couldn't find any solution of how to work around with audio and video do any one know how can i do it ?
SignalR is for sending out small messages to signal data or changes. Therefore you should transmit a link to the actual image or video in this case. The way the web works ;)
I would like to encapsulate different messaging platforms (Google Talk, Facebook Chat) for my users - of course it will be using XMPP.
I will be writing the server in C# and the client in Flex (AIR).
Do I need to keep track of all the message in the server?
What would be the best practice for notifying users about a new message?
Polling?
Push? (How does C# works with Flex)
Thank you in advance...
You don't have to write a server at all. Your Flex (AIR) client has to connect to Facebooks or Googles XMPP server only. I suggest to pick a client library from here: http://xmpp.org/xmpp-software/libraries/ and start coding.
Ok i got a chat client now, now i just need some tips, how you get an client implement in it, so you can so who's online on the chat fore some guys that doesnt understand me.
First, have a look in to programming sockets under C#. The IRC protocol is a simple text-based protocol that is easy to parse and respond to.
The IRC specification can be found here.
Additional specifications, here.
There are about as many ways to write a chat program as there are IRC networks! Luckily, for someone exploring socket programming, an IRC client is a great start that you can get up and running easily in a console window before you plug in a GUI.
Does anyone have any advice how to write such app? Or maybe knows some nice tutorial? I would like to use System.Net.PeerToPeer namespace, but everything I can find about it is MSDN which I can't read without getting mad. Or maybe using "old-school" TCP/IP would more efficient?
I will appreciate every piece of advice. Every sample code I will shower with gold ;)
And please, don't send me back to Google for I have searched for a long time for sth useful - maybe inaccurately but time is running out and I really need some help.
[edit]
What about the Brunet library? Has anyone used it?
There is a sample at MSDN that you may find interesting: Peer Channel Chat.
Quote from the page:
The Chat sample demonstrates how to
implement a multiparty chat
application by using Peer Channel.
Messages sent by any instance of a
chat application are received by all
other instances.
The Chat sample is not based on the
concept of client and service. It is a
true peer-to-peer application with
each instance acting as a peer of
other instances. Each instance can
send messages to other instances and
receive messages from other instances
using the IChat duplex contract.