Re: Which async methods trigger DONE ? (General questions)
Hi Drazen,
I've read the helpfile and disconnect immediately is exactly what i intend to do and my question is not answered in the helpfile. Sorry.
As i am not familiar with the smtp-protocol i was just asking what wodsmtp is doing from the moment on when i issue the disconnect call in terms of the dialog with the connected server.
Is wodSMTP
a.) just closing the connection ignoring any traffic just going on
or
b.) doing some final two-way-conversation with the connected server
In case b.) i have to know if there could be a scenario where the immediate disconnect can fail or be postponed for later by wodSMTP, because where are talking asyncron here which means if i am trying to release wodSMTP from memory directly after calling disconnect i am trashing memory and with it my app. So this general issue is very important and not just me being stubborn [:sad:]
Plain an simple: I cannot see any good reason why in non-blocking mode disconnect shoult not trigger the done effect. It's more coherent with non-blocking mode and simpler to programm with, because then DONE is always (!) triggered whenever wodSMTP is really done with anything it is doing with/to the outside world .
So could you please explain what wodSMTP is doing exactly when i call disconnect?
Thanks for being patient with me [:wink:]
Best regards
Michael
Complete thread:
- Which async methods trigger DONE ? - LOGO Datensysteme, 2006-06-02, 11:42
- Re: Which async methods trigger DONE ? - wodAlan, 2006-06-02, 12:31
- Re: Which async methods trigger DONE ? - LOGO Datensysteme, 2006-06-02, 14:13
- Re: Which async methods trigger DONE ? - wodAlan, 2006-06-02, 15:41
- Re: Which async methods trigger DONE ? - LOGO Datensysteme, 2006-06-02, 16:57
- Re: Which async methods trigger DONE ? - wodDrazen, 2006-06-02, 17:23
- Re: Which async methods trigger DONE ? - LOGO Datensysteme, 2006-06-06, 09:49
- Re: Which async methods trigger DONE ? - wodSupport, 2006-06-06, 12:52
- Re: Which async methods trigger DONE ? - LOGO Datensysteme, 2006-06-06, 13:51
- Re: Which async methods trigger DONE ? - wodSupport, 2006-06-06, 12:52
- Re: Which async methods trigger DONE ? - LOGO Datensysteme, 2006-06-06, 09:49
- Re: Which async methods trigger DONE ? - wodDrazen, 2006-06-02, 17:23
- Re: Which async methods trigger DONE ? - LOGO Datensysteme, 2006-06-02, 16:57
- Re: Which async methods trigger DONE ? - wodAlan, 2006-06-02, 15:41
- Re: Which async methods trigger DONE ? - LOGO Datensysteme, 2006-06-02, 14:13
- Re: Which async methods trigger DONE ? - wodAlan, 2006-06-02, 12:31