----- Original Message ----- From: "David Waite" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> 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 > [EMAIL PROTECTED] > http://mailman.jabber.org/listinfo/jdev > _______________________________________________ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev