Article View: borland.public.cppbuilder.nativeapi
Article #15735Re: Raw sockets with winsock
From: "Kjartan T. Hjörvar"
Date: Tue, 17 Jun 2003 18:12
Date: Tue, 17 Jun 2003 18:12
18 lines
2168 bytes
2168 bytes
Hans Galema wrote: > Strange that sendto() seems to be succesfull then: Raw sockets as such are included in all windows versions, but the IP_HDRINCL option is only supported in 2000 and later. As the setsockopt() call didn't succeed the sendto works fine. The 20 bytes that should have been a header are now a payload and the operating system generates its own header in front of them. > But I still dont know what the receiver should be. The receiver is another machine on the lan, I'm using 192.168.0.0 address space, and 192.168.0.6 is my receiver. At the moment it only counts incoming packets. Kjartan T. Hj�rvar kjartant@simnet.is
Technical Details
Message-ID:
<3eef59f7$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3eebcb3d$1@newsgroups.borland.com> <3eec0f4d@newsgroups.borland.com> <3eed9e62$1@newsgroups.borland.com> <3eeda3b6@newsgroups.borland.com> <3eedc72b$1@newsgroups.borland.com> <3eedc991$1@newsgroups.borland.com> <3eee1e43$1@newsgroups.borland.com> <3eee2c34@newsgroups.borland.com> <3eee3f6e@newsgroups.borland.com> <3eee4ed8$1@newsgroups.borland.com> <3eeeba5f$1@newsgroups.borland.com> <3eeecdb3$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 10cc67,37b140341e7bf2c2 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-06-17 11:14:00 PST Date: Tue, 17 Jun 2003 18:12:12 +0000 From: "Kjartan T. Hjörvar" <kjartant@simnet.is> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Raw sockets with winsock References: <3eebcb3d$1@newsgroups.borland.com> <3eec0f4d@newsgroups.borland.com> <3eed9e62$1@newsgroups.borland.com> <3eeda3b6@newsgroups.borland.com> <3eedc72b$1@newsgroups.borland.com> <3eedc991$1@newsgroups.borland.com> <3eee1e43$1@newsgroups.borland.com> <3eee2c34@newsgroups.borland.com> <3eee3f6e@newsgroups.borland.com> <3eee4ed8$1@newsgroups.borland.com> <3eeeba5f$1@newsgroups.borland.com> <3eeecdb3$1@newsgroups.borland.com> In-Reply-To: <3eeecdb3$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 212.30.210.28 Message-ID: <3eef59f7$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1055873527 212.30.210.28 (17 Jun 2003 11:12:07 -0700) Lines: 20 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail