🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #1032

Re: timeout of recv

#1032
From: Eduardo Jauch
Date: Sat, 30 Jun 2007 18:23
22 lines
1539 bytes
Eduardo Jauch escreveu:
> Hello!
> 
> My modem have some "problems", and eventually, he turns a "Timeout" 
> message when I try to access any page.
> 
> I have an aplication that use send and recv to access a page, and when 
> this happens, the recv don't "return".
> 
> How to adjust the timeout of recv? There's a way to do this?
> 
> 
> Thanks!


In time...

I use non-block sockets... So, looks I can't use select... right?

Anyway, Select seens to be a very "slow" method, isn't it?

Thanks!
Technical Details
Message-ID: <46869fb5$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder3.cambrium.nl!feeder2.cambrium.nl!feed.tweaknews.nl!193.201.147.84.MISMATCH!xlned.com!feeder1.xlned.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <46869b18$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,76bc0c5b0ec153e0
X-Google-Attributes: gid11508e,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Sat, 30 Jun 2007 15:23:53 -0300
From: Eduardo Jauch <eduardo.jauch@gmail.com>
User-Agent: Thunderbird 1.5.0.12 (Windows/20070509)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Re: timeout of recv
References: <46869b18$1@newsgroups.borland.com>
In-Reply-To: <46869b18$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 201.35.7.101
Message-ID: <46869fb5$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1183227829 201.35.7.101 (30 Jun 2007 11:23:49 -0700)
Lines: 22
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder3.cambrium.nl!feeder2.cambrium.nl!feed.tweaknews.nl!193.201.147.84.MISMATCH!xlned.com!feeder1.xlned.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail