SocketException!!!

2004-01-09 Thread Devan Namboothirippad
hi,

I work on a Java based e-mail server. When I send mails to a Java-based 
SMTP Server from my SMTP Client, I get SocketException (saying "Software 
  caused connection abort" on the windows platform and "Broken pipe" on 
Linux.). But when I send mails to Postfix, my client doesn't throw any 
exceptions. Somebody please help me out...

-- 

Devan.



!-- Virus-Free Mail Using PostMaster AvAc & QuickHeal Engine --!



-
QuantumLink Communications Pvt Ltd, Mumbai, India



-
QuantumLink Communications Pvt Ltd, Mumbai, India


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: SocketException!!!

2004-01-09 Thread Michael Sinz
Devan Namboothirippad wrote:
hi,

I work on a Java based e-mail server. When I send mails to a Java-based 
SMTP Server from my SMTP Client, I get SocketException (saying "Software 
  caused connection abort" on the windows platform and "Broken pipe" on 
Linux.). But when I send mails to Postfix, my client doesn't throw any 
exceptions. Somebody please help me out...
Broken Pipe on Linux tends to be due to one end of the socket closing down
before the other end expects (usually you are trying to write a bit more
to the socket and it has closed)
Could there be something with the SMTP protocol that is not being handled
correctly?  Have sniffed the traffic yet to watch the exchange?
(Ethereal is your friend - use it)

Anyway, without more details, this is hard to diagnose - but most likely your
client is trying to send some extra data on the socket after the server
has closed the socket.
--
Michael Sinz Technology and Engineering Director/Consultant
"Starting Startups"mailto:[EMAIL PROTECTED]
My place on the webhttp://www.sinz.org/Michael.Sinz
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]