Not logged in. · Lost password · Register
Forum: agsXMPP SDK Support RSS
Avatar
deepak #1
Member since Dec 2005 · 26 posts
Group memberships: Members
Show profile · Link to this post
Subject: Two things are missing in Miniclient
Group Chat and File Transfer. Any serious xmpp messenger client should have these features. Can Miniclient be extended to support these two features ? Can anyone pls provide VB.NET source code ?
Avatar
Alex #2
Member since Feb 2003 · 4245 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Hi,

it would be no problem to add this features using agsXMPP. But the MiniClient is only a small sample application and not a complete chat application. So we didnt add it yet. Its possible that we extend it a bit in the future.

Alex
Alexander Gnauck
AG-Software
Avatar
deepak #3
Member since Dec 2005 · 26 posts
Group memberships: Members
Show profile · Link to this post
ok then can u please guide me to implement these features in my aplication. I am developing a messenger client for our company to use in our Intranet with VB.NET. Can u provide me some sample code.

Thanks for ur reply. :)
Avatar
deepak #4
Member since Dec 2005 · 26 posts
Group memberships: Members
Show profile · Link to this post
Alex... I am still waiting for ur reply  :(
Avatar
Alex #5
Member since Feb 2003 · 4245 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Hi deepak,

The best and easiest way for transfering files is to use the OOB protocol. YOu use this protocol to exchange the IP-address of the sending client and the filename. The rest is standard http protocol. One client acts as a small webserver, the other client just downloads the file from it. There are tons of samples for webservers and webrequests for .NET in the internet. So it should be no problem.
This is the protocol extension:
http://www.jabber.org/jeps/jep-0066.html

Groupchat works very similar to chat. For joining a room just send your presence to a chatroom. You will get all presences from the other participants. Sending a message is the same as sending a chat message. You send it to the room jid. I will extend the MiniClient Sample for GroupChat and Upload it soon.

Alex
Alexander Gnauck
AG-Software
Avatar
deepak #6
Member since Dec 2005 · 26 posts
Group memberships: Members
Show profile · Link to this post
Thank you very much Alex  :)
Avatar
deepak #7
Member since Dec 2005 · 26 posts
Group memberships: Members
Show profile · Link to this post
Quote by "Alex":
The best and easiest way for transfering files is to use the OOB protocol. YOu use this protocol to exchange the IP-address of the sending client and the filename. The rest is standard http protocol. One client acts as a small webserver, the other client just downloads the file from it.
Will this work if sender is out of my network ?? I mean two people from two different countries can send files to each other ??
Avatar
Alex #8
Member since Feb 2003 · 4245 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
if you both sites are behind NAT and you don't forward ports it will not work. Here you need a server in the middle (Proxy). A Webserver where you can Upload the file and the other person can download it. Or choose one of the other FileTransfer protocols in XMPP. Its also possible to send the file thru a XMPP server. But admins of public XMPP servers don't like this way because its lots of traffic.

see also:
JEP-0096
JEP-0047

Alex
Alexander Gnauck
AG-Software
Avatar
deepak #9
Member since Dec 2005 · 26 posts
Group memberships: Members
Show profile · Link to this post
Hmm... seems lots o complications...
Thanks for ur help.
Avatar
deepak #10
Member since Dec 2005 · 26 posts
Group memberships: Members
Show profile · Link to this post
Is Group Chat feature added in Miniclient ?
Avatar
Alex #11
Member since Feb 2003 · 4245 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Its implemented but not released yet to the public.
We are also working on File-Transfer samples and additional controls for file transfer in the agsXMPP.ui component. We realease a new version when the file transfer code is finished and tested.
If you want or current code for groupchat just ping us, and we send you the code.

Alex
Alexander Gnauck
AG-Software
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP SDK Support RSS