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 )

Regards:
Ole Braad-Sorensen
www.importshop.dk
-- 
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