LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-22-2011, 04:46 AM   #1
tarunchawla
Member
 
Registered: Mar 2010
Location: New Delhi,India
Distribution: Ubuntu 14.04
Posts: 117

Rep: Reputation: 3
making a chat client using gloox in c++


I want to make a chat client for my minor project and I have just learnt c++ and trying to make a chat client using gloox library.
I am using g++ compiler,could any one give me short example so as to how to use implement gloox library so that I can catch upon it further.
Please give me a example to connect to gmail server and authentcate with the server.....
Thanks in advance
 
Old 08-23-2011, 02:38 PM   #2
sag47
Senior Member
 
Registered: Sep 2009
Location: Raleigh, NC
Distribution: Ubuntu, PopOS, Raspbian
Posts: 1,899
Blog Entries: 36

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
Gmail uses XMPP.

The settings are port 5222 with SSL enabled.
Domain is gmail.com.

There's plenty of examples in the gloox api documentation.

http://camaya.net/api/gloox-1.0/index.html

That should be enough information to get your project off the ground.

SAM
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] chat client in c using gloox library tarunchawla Programming 2 08-18-2011 06:52 AM
[SOLVED] chat client in c tarunchawla Programming 2 08-14-2011 04:23 PM
Making a kick booty chat machine pengyou Linux - Hardware 1 03-11-2006 01:17 AM
Chat client for yahoo chat?? Joey.Dale Linux - Software 11 01-23-2004 03:16 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration