(This article firstly analyzes the feasibility of transplanting the open source XMPP protocol to SymbianOS, and then proposes the code transplant process, and finally gives the specific practice of transplanting the XMPP protocol stack according to the code transplant process.)