[prev in list] [next in list] [prev in thread] [next in thread] 

List:       twsocket
Subject:    =?ISO-8859-1?Q?Re=3A_=5Btwsocket=5D_Is_this_a_correct_behaviour=3F?=
From:       Piotr Hellrayzer =?ISO-8859-2?Q?Da=B3ek?= <enigmatical () interia ! pl>
Date:       2005-02-27 10:09:58
Message-ID: HCM7D5021B0A937ynpvgnztvar () mastahaka
[Download RAW message or body]

Hello!

>> Is this a correct behaviour? If, for example, server software is down,
>> msg.LParamHi contains 10061 (connection refused) error. Everything seems
>> to be fine, but when such error occurs, software believes that socket
>> _is_ connected, when it isn't!

> Yes, it is correct behaviour. You have to check the error argument in
> OnSessionConnected. If you get the event with an error, then it is likely
> that you are not connected.

Booo :(
Okay, so I need to revert it and program that OnSessionConnected... :( 

Anyway, thanks for help.

-- 
Piotr "Hellrayzer" Dalek
Author of ICS-Based Hellcore Mailer - an Outlook Express killer
http://www.hcm.prv.pl
enigmatical@interia.pl


--------------------------------------------------------------------
NAJLEPSZA NA SWIECIE...
Sprawdz >> http://link.interia.pl/f185e <<


-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic