🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Developing a Sniffer

#3865
From: Patrick Wong
Date: Fri, 10 Jun 2005 11:07
12 lines
1404 bytes
"Eelke" <e.klein@mplussoftware.nl> wrote in message
news:42a93417$1@newsgroups.borland.com...
>
> Also I guess the code has put the socket in non-blocking mode. You could
> try to use blocking mode in which case recv would wait for data to
> become available.
>
I add a statement
 ioctlsocket(RawSocket, FIONBIO, 0);

This disables the socket to be non-blocking?  The problem is still there.
Technical Details
Message-ID: <42a97480$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <42a8ffee$1@newsgroups.borland.com> <42a93417$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,8706ab62d569f7f0
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Patrick Wong" <patrickwong@computer.org>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <42a8ffee$1@newsgroups.borland.com> <42a93417$1@newsgroups.borland.com>
Subject: Re: Developing a Sniffer
Date: Fri, 10 Jun 2005 19:07:42 +0800
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 203.82.252.252
Message-ID: <42a97480$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1118401664 203.82.252.252 (10 Jun 2005 04:07:44 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail