Re: Socket : how to read multiline

From: Darren New (dnew_at_san.rr.com)
Date: 03/20/04


Date: Sat, 20 Mar 2004 22:04:51 GMT

Cameron Laird wrote:
> Read's determinacy is a bit subtle, though, correct?

SMTP goes over IP. IP can drop packets, leading to retransmissions at
the TCP level. Hence, the statement that [read] will read everything
that's been sent by the server is quite different from the statement
that [read] will read everything available.

If the SIZE line shows up, and the HELP line gets dropped because a
router reboots and takes 90 seconds to send you that line, you'll have
trouble automatically recognising that without coding knowlege of the
protocol into the program.

-- 
Darren New, San Diego CA USA (PST)
   I am in geocentric orbit, supported by
   a quantum photon exchange drive....


Relevant Pages

  • Re: Fee Based Email (From Re: Processs PreciseMail AntiSpam...)
    ... >>that the ISP will charge every user that exceeds a certain mail limit. ... Encryption. ... SMTP connection between their central mailhubs and any other central mailhubs ... packets for a sequence such as. ...
    (comp.os.vms)
  • Re: TCP SACK issue, hung connection, tcpdump included
    ... because the segment which never gets correctly ACKed is also the ... it seems that one of the directions is dropping packets for some reason ... At the end of the dump here the connection is dropped by the client side. ... nor the retransmissions of 2991:3039 from the CLIENT. ...
    (Linux-Kernel)
  • Re: how to trace outgoing SMTP connections failures ?
    ... You'll find out about application-layer interaction between SMTP hosts - SMTP commands/verbs like HELO/EHLO, and responses to those. ... If you want to dig deeper to the network layer and peek into the packets (for example, to figure out why a network connection or SMTP session isn't established.... ... you'll need to fire up a network capture tool like NetMon or Ethereal and capture packets from/to that host. ...
    (microsoft.public.exchange.admin)
  • Re: MC9S12NE64
    ... >Are you sure you aren't just trying to feed the little guy packets ... so i found out that there are many retransmissions. ... Maybe the windows stack is to fast but how can i slow down it? ...
    (comp.arch.embedded)
  • Re: Fee Based Email (From Re: Processs PreciseMail AntiSpam...)
    ... > How is my ISP going to count the e-mails that I send? ... The ISP only sees raw packets. ... If you are saying you send packets that do not confirm to the SMTP ... If they do conform to the SMTP protocol, ...
    (comp.os.vms)