instant-messaging

IM using SignalR

家住魔仙堡 提交于 2019-12-08 13:30:54
问题 Is it possible to create a facebook like kind of chat using signalr? I've seen a few samples but they are all chat rooms. I want to implement a private chat in my site and was wondering if it'd be possible using signalr. 回答1: Take a look at MessengR https://github.com/davidfowl/MessengR, it's a sample IM thick client using signalr. 回答2: You could also use the tutorial how to build signalr web chat client http://visualstudiomagazine.com/articles/2013/01/22/build-a-signal-r-app-part-1.aspx but

any open source instant messenger?

若如初见. 提交于 2019-12-08 09:38:46
问题 I need to develop an instant messenger (like MSN Messagner, but only simple and basic function is fine), based on .Net (C#). I want to integrate the instant messenger with my current web site user. I want to know any open source (better C#) instant messenger to reference? BTW: some of the users are using internal IP address (behind a gateway or proxy, like 10.10.xxx.xxx) -- so in this scenario two users can not use point to point message transfer if both of them are behind a gateway? And I

What do I need to know before working on an IM application?

旧街凉风 提交于 2019-12-08 09:33:23
问题 I'm looking into building an IM-type application using Java stack (for the server at least). I'd be interested to see any information/advice on how applications like Skype/AIM/MSN work, as well as know any technologies/APIs that might be relevant. Without giving away the idea itself, it's perhaps more akin to Google Wave than Skype, but information useful for either is very welcome. Specific points I have already thought of include: Server Vs P2P... for reasons of logging my system will

Jabber-net integration

巧了我就是萌 提交于 2019-12-07 18:34:22
问题 I'd like to ask your help regarding having a Google Talk Bot that will communicate with my code on my server. I have downloaded Jabber-Net from code.google.com, but the examples there are not enough... I am new to these technologies, and have no clue about: How will client arrive to my server? where should I change [if any] DNS to my server? Which server side library should I use? From the examples I understood that I need to have a Desktop-app running in the background constantly, which

Jabber/XMPP gem for Rails 3.2 [closed]

独自空忆成欢 提交于 2019-12-07 12:24:42
问题 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 6 years ago . Im looking for a solid and working XMPP gem for rails 3.2 There are hundreds of them in the net, but most of them outdated or alpha. Can you recommend me one for rails 3.2? 回答1: The gem xmpp4r works fine. (https://github.com/ln/xmpp4r) Here is an example: require 'xmpp4r' sender_jid = Jabber::JID.new('a@b.com')

How do I create a chat server that is not driven by polling?

萝らか妹 提交于 2019-12-07 10:27:31
问题 I have created a simple chat server that is driven by client polling. Clients send requests for data every few seconds, and get handed any new messages as well as information about whether their peer is still connected. Since the client is running on a mobile platform (iPhone), I've been looking for ways of getting rid of the polling, which quickly drains the battery. I've read that it's possible to keep an http connection open indefinitely, but haven't understood how to utilize this

Jabber-net integration

我的梦境 提交于 2019-12-06 11:38:53
I'd like to ask your help regarding having a Google Talk Bot that will communicate with my code on my server. I have downloaded Jabber-Net from code.google.com, but the examples there are not enough... I am new to these technologies, and have no clue about: How will client arrive to my server? where should I change [if any] DNS to my server? Which server side library should I use? From the examples I understood that I need to have a Desktop-app running in the background constantly, which doesn't make sense to me. Does anyone has an example of some better references to understand this better?

How do I create a chat server that is not driven by polling?

南楼画角 提交于 2019-12-05 13:13:43
I have created a simple chat server that is driven by client polling. Clients send requests for data every few seconds, and get handed any new messages as well as information about whether their peer is still connected. Since the client is running on a mobile platform (iPhone), I've been looking for ways of getting rid of the polling, which quickly drains the battery. I've read that it's possible to keep an http connection open indefinitely, but haven't understood how to utilize this technique in practice. I'm also wondering whether such connections are stable enough to use in a mobile setting

Regular Expression - Formatting text in a block - IM

此生再无相见时 提交于 2019-12-04 11:53:19
Hello I am trying to figure out a regular expression to replace text in an innerHTML block to provide local formatting for text similar in operation to Google IM. Where: _Italics_ !Inderline! *Bold* -Strike- Part of the conditions is that the text must be wrapped by the symbol, but if a space follows immediately after then the trigger condition is voided; so * bold* would not be bolded and: * notbold but this is bold The innerHTML will have URLS which have already been converted to hrefs so in order to not mess with them, I have added the following to the front of my regex. (?!(?!.*?<a)[^<]*<\

best java jabber client library [closed]

跟風遠走 提交于 2019-12-04 03:00:52
Closed . This question is opinion-based. It is not currently accepting answers. Learn more . Want to improve this question? Update the question so it can be answered with facts and citations by editing this post . Closed 5 years ago . What good/bad experiences do you have with java jabber libraries? I've had really good experience with the Smack library. I found it straightforward to use, and pretty easy to get a basic client up and running. The documentation was pretty good as well. 来源: https://stackoverflow.com/questions/1091625/best-java-jabber-client-library