On Wed, 31 Jan 2001, David B wrote:
> Hi, I'm having a problem with the tcp part of icqlib.
>
> I can do everything on the UDP side of things, receive msg's, send
> messages (through the server) etc. However if I enable tcp, messages
> sent to me just time out and never appear. However if I message the
> person (ICQ_SEND_DIRECT) then I can get msg's from the person.
>
> I have the socket handler stuff set up and it seems to be working ok.
> I also have the same problem if I call icq_Main on a 100ms timer.
>
> Have I not set up something vital?
It sounds like you're doing everything correctly. The socket handler
callback is only there as an option - icqlib should work the same as it
used to if you're using the timer method to call icq_Main, it's just going
through my new socket manager code.
I've been getting a number of different reports for this lately, but on my
local system here, everything appears to work fine in both directions.
If you could, please do the following:
1. Ensure you've updated to the most recent CVS version - I put a few
fixes in for the socket manager code after my initial checkin.
2. Use the icq_Log callback to capture a log. Log everything that comes
across the callback, try to send a TCP message to your program. Send me
the resulting output.
3. Give me a quick description of your system, running uname -a at a shell
prompt is fine.
Thanks,
Bill
|