[JDEV] Jabber Client - Sockets problem

Rohit Nadhani rohit_nadhani.geo at yahoo.com
Wed Apr 24 06:44:02 CDT 2002


Hello,

I am developing a Jabber client using sockets.

Before calling the recv() function, I need to know one
of the following:

- the message seperator so that I can recv() upto the
seperator
- the no of bytes I need to recv()

I can't fix the buffer size, since the incoming
message can be of any length.

Can somebody suggest me the right way to recv() a
message from the Jabber server?

Thanks in advance,

Rohit

__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/



More information about the JDev mailing list