Article View: demon.ip.developers
Article #684Re: SMTP/POP3 Server
From: Richard Clayton
Date: Sat, 30 Nov 1996 00:00
Date: Sat, 30 Nov 1996 00:00
22 lines
1525 bytes
1525 bytes
In article <329F8F2F.6CDE@anet.demon.co.uk>, Robert John Shepherd
<robert.john.shepherd@anet.demon.co.uk> writes
>Basically, it all works fine until I've finished sending the message
>data and have ended with the <CRLF>.<CRLF> terminator. Then I never get
>an Okay reply. Interestingly, this only seems to happen over modem
>connections, and only with the optimised version.
there is insufficient information :) but this sort of Winsock problem
usually comes from assuming that replies will always fit neatly into
single lumps and will never be split across several individual FD_READ
events...
alternatively you have not realised that there can still be more data to
read when an FD_CLOSE appears. Read the Winsock 2 spec which has this
area far better documented than the 1.1 spec ever managed.
--
richard richard.clayton @ T U R N P I K E .com
tel: +44 1306 732300
"Assembly of Japanese bicycle require great peace of mind" quoted in ZAMM
Technical Details
Message-ID:
<NgpsnnAgcDoyEAys@turnpike.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<329F8F2F.6CDE@anet.demon.co.uk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10bb05,4980859195010090 X-Google-Attributes: gid10bb05,public From: Richard Clayton <richard@turnpike.com> Subject: Re: SMTP/POP3 Server Date: 1996/11/30 Message-ID: <NgpsnnAgcDoyEAys@turnpike.com> X-Deja-AN: 201559490 distribution: world x-nntp-posting-host: pillar.turnpike.com references: <329F8F2F.6CDE@anet.demon.co.uk> organization: Turnpike Ltd mime-version: 1.0 newsgroups: demon.ip.developers