delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/10/21/06:15:31

From: "Peter Remmers" <Peter DOT Remmers AT t-online DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: libsocket: problems with receiving large amount of data
Date: Sat, 21 Oct 2000 11:56:46 +0200
Organization: T-Online
Lines: 18
Message-ID: <8srp88$7tj$01$1@news.t-online.com>
Mime-Version: 1.0
X-Trace: news.t-online.com 972122184 01 8115 40Svz+SSrAdHa 001021 09:56:24
X-Complaints-To: abuse AT t-online DOT com
X-Sender: 320094726121-0001 AT t-dialin DOT net
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi!

I'm currently writing a telnet program and now have the problem
that when I receive a relatively large amount of data (such as
with "ls -lR /") after a few seconds it hangs, because
the library thinks there is no data to read.
select() hangs (or times out), recv() either blocks (blocking
mode) or fails with EAGAIN (nonblocking).
On my linux box (where I do the "ls -lR /") netstat says the
send-Q of the connetion fills up to like 40k or so.

What gives?
I'm using Win98SE with libsocket 0.8.0p1 and CODA's sock.vxd.

Peter



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019