Law Chew Lim
April 1st, 1999, 08:22 PM
I am writing a send mail application using SMTP through an NT mail server.
My program is that I cant read all the responce from the mail server in a single recv() call.
To read all the responce, i had to make several recv() calls and put a Sleep(1000) in between the calls.
Is there anyway to block the recv() call until all the responce string is in the queue??
Or is there any better sugestions?
Please email me is this post is not clear enough.
Thanx.
My program is that I cant read all the responce from the mail server in a single recv() call.
To read all the responce, i had to make several recv() calls and put a Sleep(1000) in between the calls.
Is there anyway to block the recv() call until all the responce string is in the queue??
Or is there any better sugestions?
Please email me is this post is not clear enough.
Thanx.