I experienced a problem using Perl's sockets for a SMTP transaction: it
seems that every string I send to the socket is appended to last message
received by the server.
For example, I receive the usual "220-Sendmail....." message, I send my
"HELO hostname" command and what is really sent is "220-Sendmail......HELO
hostname".
I read that this problems derives by the fact that Perl considers sockets
just as files, which is true under Unix but not under VMS. Given this, still I
don't know how to solve it. Is there a simple way to empty the outgoing-buffer
before sending my messages?
Thanks.
Riccardo Brigo
Scuola Superiore S.Anna
Pisa - ITALY
email: [EMAIL PROTECTED]