[JDEV] Jabber Client - Sockets problem

Glenn MacGregor gtm at oracom.com
Wed Apr 24 10:20:19 CDT 2002


----- Original Message -----
From: "David Waite" <mass at akuma.org>
To: <jdev at jabber.org>
Sent: Wednesday, April 24, 2002 10:13 AM
Subject: Re: [JDEV] Jabber Client - Sockets problem


> Glenn MacGregor wrote:
>
> >First - You may want to look at some libraries that already do that,
> >jabberoo (Linux, win32).  JabberCOM (COM based win32) and there are some
> >java libs as well.
> >
> >If you need to make your own, you should look at jabberoo for some ideas.
> >
> Look at gabber for some ideas - I don't believe jabberoo contains any
> socket logic :-)
Good point, but to make the lib useful you need the "TCPTransmitter".
>
> Usually you just create a relatively large buffer (a page is good) and
> recv as much as you can up to a max of that size. if you have more
> traffic, allocate more memory.
Not really necessary, because you will get it when you hit select again, as
long as your parser can handle it.
>
> -David Waite
>
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
>




More information about the JDev mailing list