Comment #6 on issue 540 by uale...@gmail.com: gb.net.smtp doesn't work with  
e.g. smtp.gmail.com, responses aren't handled properly (timing issue)
http://code.google.com/p/gambas/issues/detail?id=540

Browsed the code, but i got a comment on it. The following code will wait  
until it gets the "??? ..." (e.g. 250 OK).

===
   If bMulti Then

     Do
       Line Input #$hStream, sLine
       sResponse &= sLine & "\n"
       If sLine Like "??? *" Then Break
     Loop

   Else

     Line Input #$hStream, sLine
     sResponse = sLine

   Endif
===

Only if during the "EHLO" phase we are connect to a port which is up, but  
nothing responds correctly, it will hang forever?

Same goes I think for the bMulti = False, it can also hang on not correct  
input.

-- 
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to