Mailinglist Archive: opensuse (2459 mails)

< Previous Next >
Re: [opensuse] GSOC 2008
  • From: debayan <debayanin@xxxxxxxxx>
  • Date: Fri, 21 Mar 2008 02:31:35 +0530
  • Message-id: <1206046895.6860.28.camel@xxxxxxxxxxxxxx>
That was a shocker to me.... by the way, i was going to print game
server info by reading the packets they send back. The packets contain
the info. I am sure there are apps written for achieving this, because
it is a simple thing as i said in my first mail. I just think if this
whole thing were a part of the openSUSE distro many windows gamers would
spend more time on Linux.
On Thu, 2008-03-20 at 21:54 +0100, Anders Johansson wrote:
debayan wrote:
Ok please answer this, say i ping the broadcast address (on
my lan) on the terminal, how does the OS execute the ping? Does it fork
off new processes or does it use threads? I am sure it is not sequential
because it is pretty fast.

Of course it's sequential. The program "ping" is started, it then
repeatedly sends an ICMP echo request and then waits for a response (or
a timeout). It is an extremely trivial program that doesn't involve
processes or threads or anything

Now if it is not sequential, i dont really need to use threads in my
program. I just have to execute a broadcast ping. The switch takes care
of the rest i think.

Broadcast pings may be ignored, don't forget that. Many places do ignore
them for security reasons

Besides which, you said you were also going to handle resources on those
servers, not just see which machines on the LAN were alive, right? for
the latter, you already have many other tools already written

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