XMPP is the official name of the jabber protocol. Its core protocol is a specification for sending XML via socket and other media. Very simple and easy to implement.
First, establish a network connection through socket
Then the client sends an XML start tag such as
Then the server returns a tag such as
Then, it indicates that the two sides can begin to interwork the XML stream.
Disconnection does not seem to need to be sent
Looking at the overa
Tigase Introduction
There is nothing to introduce. From the source code, it may be the most streamlined xmpp im server, supporting clusters.
However, at that time, I was forced to give up using openfire because I was already using openfire and was busy with work and had no time to switch.
Tigase source code deployment
1. Download and install support
Jdk1.6 Maven 2.x/ 3.x
2. Obtain tigase Server Source CodeSVN Co https://svn.tigase.org/reps/tigase-ser
Wolfram Hempel is the co-founder of Deepstreamio. Deepstreamio is a German-based technology start-up company that provides high-performance, secure, and scalable real-time communication services for mobile clients, as well as IoT devices. Text translated by Jiatong, please specify from the highly available architecture.
Want to send a request to the server and get a response? Use HTTP directly! Very simple. But when you need to communicate through a long-lasting two-way connection, such as
Tigase is an XMPP server that can serve as a server for various IM (Instant messeging) tools (such as pandion, spark, etc.) that use the XMPP protocol.The steps to install tigase in a Linux environment are as follows:(1) Download the installation fileTo https://projects.tigase.org/projects/tigase-server/files download the installation file, I downloaded the tigase-server-5.2.0-b3447-dist.tar.gz.(2) Decompre
Recently in the collation of some of this information, less gossip, let me go straight to the theme:
A. OpenFire configuration installation based on XMPP implementation
1, download the latest OpenFire installation files
Official Download site:
Http://www.igniterealtime.org/downloads/index.jsp#openfire
Download Address:
Exe:
Http://www.igniterealtime.org/downloads/download-landing.jsp?file=openfire/openfire_3_7_1.exe
Zip:
Http://www.igniterealtime.org
Transferred from: http://m.oschina.net/blog/82059The main purpose of this article is to analyze and contrast the most mainstream message push schemes on the Android platform, objectively reflect the advantages and disadvantages of these push schemes, and help us choose the most suitable implementation plan.Scenario 1,Using GCM Services (Google Cloud Messaging)Introduction: Google launched the cloud messaging service, the second generation of G2DM.Pros: Google offers services, native, and simple,
Next, we will introduce XMPP in this chapter.
To facilitate program calling, we will write some main XMPP methods in appdelegate.
The methods in appdelegate. m are as follows:
-(Void) setupstream {// initialize xmppstream = [[xmppstream alloc] init]; [xmppstream adddelegate: Self delegatequeue: Upload ()];}-(void) goonline {// sending online status xmpppresence * presence = [xmpppresence presence]; [[self
There are two main methods for xmpp file transmission:The Protocol corresponding to 1 socks5 bytestreams is XEP-0065The Protocol for 2 In-Band Bytestreams (ibb) is XEP-0047
The advantage of the socks5 Bytestreams method is high efficiency, but a file proxy is required for cross-network segment transmission. For example, the openfire server has a file proxy, so this is easy to implement.The same network segment transmission can be directly connected.
Linux XMPP server Tigase (Spark client test)
Tigase is an XMPP server developed based on Java. Similar to Openfire, Tigase can be used to build an Instant Messaging (IM) platform.
1. Preparation
Before installing Tigase, you must first prepare the Java Environment and Database (MySQL is used in this article ).
Tigase download: https://projects.tigase.org/projects/tigase-server/files
Download: tigase-server
Introduction: This is a detailed page of Gtalk php api (based on XMPP). It introduces PHP, related knowledge, skills, experience, and some PHP source code.
Class = 'pingjiaf' frameborder = '0' src = 'HTTP: // biancheng.dnbc?info/pingjia.php? Id = 341446 'rolling = 'no'>1. Download The Library File
Transport: http://code.google.com/p/xmpphp/Or use svn co: SVN: // netflint.net/xmpphp
Simple Description:Xmpphp is the successor to class. jabber. php
Continue with the previous article. This article introduces the development of openfire plug-ins.
This article has been dragging on for a long time. The openfire server supports plug-in development, and the development process may involve database operations. This article focuses on the openfire plug-in and provides a brief introduction to database development on the server.
Openfire is an XMPP server implemented in Java. The client can communicate
When a XMPP password protected are already set up in a window with the account being logged back in, Pidgin tries to log Into the without a password and fails with a "not Authorized" error. Double-clicking on the Buddy List would log into the the properly.This bug is seems to crop up in a specific set of criteria, but given that situation happens often (at least for me), it is still annoying. I hiberate my laptop often and go on VPN, so it comes up ev
The XMPP protocol is analyzed through Wireshark packet capture. The following uses the Renren desktop version to demonstrate the XMPP client's process from logging on to getting new things. It is easier to understand the Protocol by analyzing specific data packets.
Step1.tcpEstablish a connection using a three-way handshake
Figure 1. XMPP client uses port
The user connection module in XMPP includes the user's online and offline information display, the user login, the user's registration, the friend module includes the friend's addition, the friend's deletion, the Friend list display.In the XMPP is responsible for data transmission class is xmppstream, the development process, for different transmission content, will call different proxy methods, in the use
Pidgin connects to Sina Weibo through XMPP (useless, only for experience sharing)-Linux general technology-Linux technology and application information. The following is a detailed description. Pidgin has a Sina Weibo plug-in. However, I directly connected the XMPP to the same principle as Renren's. However, it still only supports chatting and does not look at the status, which requires perfection, select g
XMPP Client library Smack version 4.0.6Chszs, reprint need to indicate. Blog home:Http://blog.csdn.net/chszsI. Overview of the SMACK LibrarySmack is an open-source, easy-to-use Xmpp/jabber client library that is developed in the Java language and developed by Jive Software.The advantage of smack is that programming is simple.Smack's disadvantage is that its API is not designed for a large number of concurre
Tigase is a Java-based XMPP server, similar to OpenFire, that can be used to build a platform for instant messaging (Instant Messaging, or IM).1. PreparationBefore installing Tigase, you first need to prepare the Java environment and the database (this article uses MySQL).Tigase Download: https://projects.tigase.org/projects/tigase-server/filesDownload:tigase-server-5.2.2-b3463-dist-max.tar.gz, unzip the file:wget https://projects.tigase.org/attachmen
Recently, the phenomenon of server downtime more frequent, temporary work, G to hang up, 502 Bad Gateway Nginx, I can not help but remind me before the 504 gateway time-out, the two should be a bit of contact, we must find out. The implication of Nginx 504 Gateway time-out is that the requested gateway is not requested
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.