Hello!

> On Tue, 12 May 2009 12:00:01 +0000, you wrote:

>>Possibly you need breaks? :-)
>>
>>switch(RqType)
>>  {
>>   case smtpConnect:  SMTP->Helo(); break;
>>   case smtpHelo:     SMTP->MailFrom(); break;
>>   case       smtpEhlo:     SMTP->Auth(); break;
>>   case       smtpAuth:     SMTP->MailFrom(); break;
>>   case       smtpMailFrom: SMTP->RcptTo(); break;
>>   case       smtpRcptTo:   SMTP->Data(); break;
>>   case       smtpData:     SMTP->Quit(); break;
>>  }

> No. Tried this too. The breaks has no effect in this "switch"
> ( No "default" value )

See this:
http://www.cppreference.com/wiki/keywords/switch 

-- 
Piotr Dałek
enigmati...@interia.pl

----------------------------------------------------------------------
Dzwonki na komorkę!
Sprawdz >> http://link.interia.pl/f2161

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to