From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Libnet Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: References: <8gsqgm$k2u$2 AT bob DOT news DOT rcn DOT net> <3932E1A8 DOT 8BD99916 AT bigfoot DOT com> <393410E4 DOT 5A984971 AT bigfoot DOT com> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 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/