Re: Receive no data
Hello there,
[...]
I want to know where the problem is. What shall I do?
You should erase this line from your code:
err = shutdown(sockfd, SD_SEND);
--
Volodymyr
"mmlab_js" <mmlabjs@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:37D04F5F-EDD9-4262-B98E-88AA5AE6D00C@xxxxxxxxxxxxxxxx
Hi,
I write a web client which downloads a specific file from specific web
server.
The link of code is here:[http://src.wtgstudio.com/?Ydw5Nc#]
I try to download this file
"http://mail.google.com/mail/help/images/logo.gif" by command:[Download
http://mail.google.com/mail/help/images/logo.gif].
After sending GET request, I check the return value of function recv and
find the value is 0.
But when I debug the program step-by-step, I find that the return value of
function recv is non-zero and downloading is completed.
I want to know where the problem is. What shall I do? Thank you.
.
Relevant Pages
- Re: oe downloads imap mail
... Synchronization for headers only works when you do not read or open the mail ... files OE again downloads the headers but as you are done with that mail, ... I'm running a mail server and a separate terminal ... > users to their personal mail folders on terminal server. ... (microsoft.public.internet.mail) - Duplicate email download after restart Outlook 2003sp2
... If I click on Send and Receive after opening Outlook it downloads everything left on the servers, adding these messages to those downloaded last time I opened it, thus creating duplicates. ... However, if I close Outlook 2003sp2 and then open it again, now the first time I click on Send and Receive it downloads everything stored on the server again. ... (microsoft.public.outlook.installation) - Re: Receiving email messages twice from Mail.
... settings in Mail and Eudora. ... Not settings, but how a message is supposed to be structured ... Have you performed any "download headers only" or partial downloads? ... then clicked a "retrieve from server" button ... (comp.mail.eudora.mac) - Re: Need someone to fix a free HTTP Server written in Assembler
... Direct links to the downloads are on www.z390.org as ... sourceforge.net CVS server so you can directly browse the z390 sources. ... and a version of the "user-written package" has to be tested at a later ... For IBM-MAIN subscribe / signoff / archive access instructions, ... (bit.listserv.ibm-main) - Re: REST, SOAP or XML-RPC?
... enable downloads of module code into the framework modules from a remote ... User requests a list of available stable modules from server ... Why not use PEAR itself? ... understand the design methodology without the prose of the book. ... (php.general) |
|