delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/30/19:15:20

From: Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
Newsgroups: comp.os.msdos.djgpp
Subject: Libnet
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <tgc8jsg897g29vs7lihs20suirpq44hhgi@4ax.com>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1000528161713 DOT 19929B AT is> <8gsqgm$k2u$2 AT bob DOT news DOT rcn DOT net> <3932E1A8 DOT 8BD99916 AT bigfoot DOT com> <h586jsgj1cap4jlhoii7um563agpbsq12h AT 4ax DOT com> <393410E4 DOT 5A984971 AT bigfoot DOT com>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
X-Trace: /KHlxMEwLHWYeHVaHFT3Fmpk1sIYScLqWH+N1mlyUQXPeQfoM/qS+kOAdyxloEgqmq7ILHGtXBBA!a3qp/TsMCarykruS7oEPQHF7Sn2D28GryTkwHm1Y1ylIIDA2ifDwWAdqOXvT8bQlVuRQSdYWGvAG!mA==
X-Complaints-To: abuse AT gte DOT net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
NNTP-Posting-Date: Tue, 30 May 2000 21:32:59 GMT
Distribution: world
Date: Tue, 30 May 2000 21:32:59 GMT
Lines: 28
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Tue, 30 May 2000 20:05:08 +0100, Richard Dawe
<richdawe AT bigfoot DOT com> wrote:

>Damian Yerrick wrote:
> 
>> Even though libnet has its own peculiar API and application protocol
>> (built on top of UDP and designed for netgames), it's designed along
>> the same lines (and by some of the same fellas) as the Allegro library
>> (does the job the same on all supported platforms).
>
>Thanks for the info there. I confess I don't know much about libnet. I
>wonder how much work it'd be to add a BSD sockets layer on top?

I don't think it'd be possible in the general case (most of the time,
hackers come here looking for something so they can HTTP; HTTP
requires TCP; libnet doesn't do TCP).  However, a BSD sockets wrapper
around the libnet protocol would probably be quite easy; libnet has
channels (~= datagram sockets) and conns (~= stream sockets).  The
main reason I turned away from libnet was that its examples all used
90% CPU time on my Linux box (portability good, polling bad).

-- 
Damian Yerrick
"I refuse to listen to those who refuse to listen to reason."
See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html

This is McAfee VirusScan. Add these two lines to your signature to
prevent the spread of signature viruses.  http://www.mcafee.com/

- Raw text -


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