NIMBUZZ TOOLS FORUM-2016
Kєяλℓλ-ßυzZ ►☻◄ ƒøяυλ⁄(-2016

✽✽✽✽✽✽✽✽✽✽✽✽ нι gυєѕт ✽✽✽✽✽✽✽✽✽✽✽✽✽✽

♚♚♚♚ωєℓ¢σмє тσ ♚kєяαℓα♕ßυzz♚ zσηє♚♚♚♚

ρℓєαѕє яєgιѕтєя тσ gєт ƒυℓℓ α¢¢єѕѕ αη∂ ∂σωηℓσα∂ ѕтυƒƒ . σηℓү яεgιsтεяε∂ мεмвεя αℓℓσωε∂ vιεω sρεcιαℓ zσηε αη∂ ∂σωηℓσα∂ sтυғғ.

тнαηк уσυ

вαℓυ кяιsнηα !
Welcome to Keralabuzz Forum 2015
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account

Foto

Program: Type Here your question about c#



  • Por favor, inicie sesión para responder

View previous topic View next topic Go down  Message [Page 1 of 1]

#1
Fuera de línea
on Fri Oct 09, 2015 10:31 pm


avatar

KßZ ►☻◄ ƒøяυλ⁄(-αđмιиιѕтяαтσя

KßZ ►☻◄ ƒøяυλ⁄(-αđмιиιѕтяαтσя
hi all, i will try to help questions about c#...
send here...
or add me kaspavore@n.c
Razz

View user profile http://kbzteam.forums1.net

#2
Fuera de línea
on Mon Oct 12, 2015 7:31 pm


avatar

KßZ ►☻◄ ƒøяυλ⁄(-đєѕιgиєя

KßZ ►☻◄ ƒøяυλ⁄(-đєѕιgиєя

View user profile http://kbzteam.forums1.net

#3
Fuera de línea
on Wed Oct 21, 2015 10:09 am


avatar

KßZ ►☻◄ ƒøяυλ⁄(-мємвєя

KßZ ►☻◄ ƒøяυλ⁄(-мємвєя



[You must be registered and logged in to see this link.]   

  HYDERABAD KA SABSE DASHING AND CUTE LADKA 

  (ARASH MALIK HASHMI) ALSO KNOWN AS (TEASER ARASH)  

 JOIN ROOM HYDS@C.N.C 

[You must be registered and logged in to see this link.]

 MY ATTITUDE WILL BE BASED ON HOW YOU TREAT ME! 

 HIHIHIHI 

 KBZ-TEAM ~ MEMBER





ɯąŧćɧ ѧŇԀ ßuяΠ →ɞıţςђร←
View user profile http://www.teaserarash.hexat.com

#4
Fuera de línea
on Thu Oct 22, 2015 1:48 pm


avatar

KßZ ►☻◄ ƒøяυλ⁄(-αđмιиιѕтяαтσя

KßZ ►☻◄ ƒøяυλ⁄(-αđмιиιѕтяαтσя

nice



[You must be registered and logged in to see this link.]
[You must be registered and logged in to see this link.]
[You must be registered and logged in to see this link.]

!redlove!@nimbuzz.com
Kbz™
View user profile http://www.nimbuzzmasters.net

#5
Fuera de línea
on Sat Oct 24, 2015 12:42 pm


avatar

KßZ ►☻◄ ƒøяυλ⁄(-мємвєя

KßZ ►☻◄ ƒøяυλ⁄(-мємвєя
bro i want to connect jabber over via TCp socket
without using any dll
please help me


using c# and vb.net

View user profile

#6
Fuera de línea
on Wed Oct 28, 2015 2:27 am


avatar

KßZ ►☻◄ ƒøяυλ⁄(-мємвєя

KßZ ►☻◄ ƒøяυλ⁄(-мємвєя

View user profile

#7
Fuera de línea
on Sat Nov 07, 2015 11:59 pm


avatar

KßZ ►☻◄ ƒøяυλ⁄(-αđмιиιѕтяαтσя

KßZ ►☻◄ ƒøяυλ⁄(-αđмιиιѕтяαтσя
[You must be registered and logged in to see this link.] wrote:bro i want to connect jabber over via TCp socket
without using any dll
please help me


using c# and vb.net



Code:
using System.Net.Sockets;

TcpClient con1;

private void login (string user, string pass)
{                            con1 = new TcpClient();

                            con1.Client.Connect("o.nimbuzz.com", 5222);
                            if (con1.Client.Connected)
                            {

                                con1.Client.Send(Encoding.UTF8.GetBytes("<stream:stream xmlns='jabber:client' to='nimbuzz.com' version='1.0' xmlns:stream='http://etherx.jabber.org/streams' xml:lang='ar' >"));
                                string str = Convert.ToBase64String(Encoding.UTF8.GetBytes("\0" + user + "\0" + pass));
                                con1.Client.Send(Encoding.UTF8.GetBytes("<auth id='sasl2' xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>" + str + "</auth>"));
                            }
                            Thread rec = new Thread(new ThreadStart(rec1));
                            rec.IsBackground = true;
                            rec.Start();

}

private void rec1()
        {
            try
            {
                while (con1.Connected)
                {
                    byte[] buffbyte = new byte[con1.ReceiveBufferSize];
                    int i = con1.Client.Receive(buffbyte);
                    if (i != 0)
                    {
                        if (i < buffbyte.Length)
                        {
                            byte[] buffbyte2 = new byte[i];
                            for (int b = 0; b < i; b++)
                            {
                                buffbyte2[b] = buffbyte[b];
                            }
                            buffbyte = buffbyte2;
                        }
                        string xml = Encoding.UTF8.GetString(buffbyte);
                        xml = xml.Replace("\"", "'");
                        if (xml.IndexOf("<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>", System.StringComparison.OrdinalIgnoreCase) + 1 != 0)
                        {
                            con1.Client.Send(Encoding.UTF8.GetBytes("<stream:stream xmlns='jabber:client' to='nimbuzz.com' version='1.0' xmlns:stream='http://etherx.jabber.org/streams' xml:lang='ar' >"));
                            con1.Client.Send(Encoding.UTF8.GetBytes("<iq type='set'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>kpv</resource></bind></iq>"));
                            con1.Client.Send(Encoding.UTF8.GetBytes("<iq id='jcl_2' type='set'><session xmlns='urn:ietf:params:xml:ns:xmpp-session'/></iq>"));
                        }
                        if (xml.IndexOf("<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>", System.StringComparison.OrdinalIgnoreCase) + 1 != 0)
                        {
                            try
                            {
                                messaBOX.Show("ok!");
                            }
                            catch { }
                        }

                        if (xml.Contains("<failure xmlns="))
                        {
                            try
                            {
                                messaBOX.Show("error!");
                            }
                            catch { }
                        }
                    }
                }
            }

            catch { }
        }

View user profile http://kbzteam.forums1.net

#8
Fuera de línea
on Sun Nov 08, 2015 6:13 am


avatar

KßZ ►☻◄ ƒøяυλ⁄(-đєνєℓσρєя

KßZ ►☻◄ ƒøяυλ⁄(-đєνєℓσρєя



∕∕∕∕∕Ξ ∕∕∕∕∕∕∕∕∕∕∕∕ΞкєяαℓαвυzzΞ∕∕∕∕∕∕∕∕∕∕∕∕Ξ ∕∕∕∕∕

█25%  {♥♥♥ D ♥♥♥}
██ 50%  {♥♥♥ A ♥♥♥}
████ 98%  { ♥♥♥ R ♥♥♥}
█████ 99%  {♥♥♥ K ♥♥♥}
██████ 100% {♥♥♥ NIGHT ♥♥♥}
l)ARK.N!GHT@NIMBUZZ.COM
View user profile

#9
Fuera de línea
on Tue Nov 10, 2015 5:34 pm


avatar

KßZ ►☻◄ ƒøяυλ⁄(-мємвєя

KßZ ►☻◄ ƒøяυλ⁄(-мємвєя
thanks bro for ur support.
it just for 1ID login code.

if i want to login multiple ids using #splitter in textbox1

then how can i login ids ?

whats about
* On presence
*On Roster
*On message


events?
how can i use this event in TCP socket


if you know about this
please help

View user profile

#10
Fuera de línea
on Tue Nov 10, 2015 6:42 pm


avatar

KßZ ►☻◄ ƒøяυλ⁄(-αđмιиιѕтяαтσя

KßZ ►☻◄ ƒøяυλ⁄(-αđмιиιѕтяαтσя

[You must be registered and logged in to see this link.]:

you need read and filter xml.. for get presence and message.. 




  • Forum Administrator : kaspavore

    * How do I change my settings?
    * How do I add a signature to my post?
    * How do I show an image below my username?
    * How do I change my rank?
    * How do I post a topic in a forum?
    * Can I post Images?

    IF YOU HAVE ANY DOUBTS LIKE THIS THEN [You must be registered and logged in to see this link.]
    OR ADD ME ON [You must be registered and logged in to see this link.]
    CHEERZ...
    [You must be registered and logged in to see this link.]


View user profile http://kbzteam.forums1.net

#11
Fuera de línea
on Thu Nov 12, 2015 10:55 pm


avatar

KßZ ►☻◄ ƒøяυλ⁄(-мємвєя

KßZ ►☻◄ ƒøяυλ⁄(-мємвєя
i didnt get yo u bro.
please give me sample project
or
give me
events code

View user profile

#12
Fuera de línea
on Thu Nov 12, 2015 10:59 pm


avatar

KßZ ►☻◄ ƒøяυλ⁄(-мємвєя

KßZ ►☻◄ ƒøяυλ⁄(-мємвєя
i didnt get yo u bro.
please give me sample project
or
give me
events code

View user profile

#13
Fuera de línea
on Fri Nov 13, 2015 6:08 pm


avatar

KßZ ►☻◄ ƒøяυλ⁄(-đєνєℓσρєя

KßZ ►☻◄ ƒøяυλ⁄(-đєνєℓσρєя
very nice thread start bro kaspavore... make it sticky thread bro Tnx

View user profile

#14
Fuera de línea
Sponsored content





Message [Page 1 of 1]