Mailinglist Archive: opensuse (2459 mails)

< Previous Next >
Re: [opensuse] GSOC 2008
  • From: debayan <debayanin@xxxxxxxxx>
  • Date: Fri, 21 Mar 2008 01:14:23 +0530
  • Message-id: <1206042263.6860.4.camel@xxxxxxxxxxxxxx>
Well Sam, doing scans sequentially is a problem because if there is a
timeout, i must kill the process, so the subsequent scans get killed.
Forking off separate processes is a good idea, but i have used lan
scanners that use threads. I guess forking off new processes would be
fine because i am just pinging the broadcast address and the routing
software does the rest of the work. Also i am kinda interested to work
on threads. A while back i tried to make a ip address based lan scanner,
and i never got to finish it. Read up on threads later. Wanted to
implement it. I am aware that it is generates bugs. But just wanted to
On Thu, 2008-03-20 at 15:31 -0400, Sam Clemens wrote:
debayan wrote:
I am one of those guys trying to spread Linux in the college. I use managed
to create a local repository
( ) which has helped, but most
of my friends do not want to switch to Linux because they would not want
to miss the games they play on Windows such as CounterStrike and Age of
Empires. So i began writing this program which scans the network every 1
minute or so for online game servers, and gives a popup alert in the
taskbar and gives info such as number of players online, IP address of
the server and the map that is on the server.
Though quite simple to implement and somewhat lame, its surprising how
effective it was in bringing new people to Linux.
I want to do this as a GSOC project. Want to add as many games as
possible. Will implement multiple scans using threads. I also envisage
adding features such as chatting on the game server. Would also like to
add a Gtk+ frontend. Skill required is C/C++ and sockets APIs. What do
you guys think? Is it a nice idea, or do i need to scratch my head more?
(I hope this mail is not too long)

Don't do use threading...either do the scans sequentially,
or just fork off multiple stand-alone processes. You gain
little by threading other than a ton of problems with from
conditions and other very subtle bugs.
Debayan Banerjee
NIT Durgapur, West Bengal, India

To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups