🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: timeout of recv

#946
From: Remy Lebeau (TeamB)
Date: Mon, 02 Jul 2007 17:05
14 lines
1337 bytes
"Colin B Maharaj" <noreply@myhost.com> wrote in message
news:468715f2@newsgroups.borland.com...

> What you want will probably look something like this......

Make sure that you initialize WinSock to use version 2.0.  Older
versions of WinSock did not support SO_RCVTIMEO and SO_SNDTIMEO

Personally, I never use SO_RCVTIMEO and SO_SNDTIMEO in my code.  I
always use select() and it works fine.


Gambit
Technical Details
Message-ID: <4689322e$3@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <46869b18$1@newsgroups.borland.com> <468715f2@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
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <46869b18$1@newsgroups.borland.com> <468715f2@newsgroups.borland.com>
Subject: Re: timeout of recv
Date: Mon, 2 Jul 2007 10:05:27 -0700
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 75.82.252.126
Message-ID: <4689322e$3@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1183396398 75.82.252.126 (2 Jul 2007 10:13:18 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail