LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 04-20-2005, 09:10 AM   #1
vishamr2000
Member
 
Registered: Aug 2004
Posts: 210

Rep: Reputation: 31
round robin source code


Hi to all,

Does anyone have the round robin algorithm's source code. If you know of any link where I can dwld it, or even better, if you have it, pls send it to me.

Regards,
Visham
 
Old 04-20-2005, 09:51 AM   #2
TruckStuff
Member
 
Registered: Apr 2002
Posts: 498

Rep: Reputation: 30
Google is your friend.

http://www.google.com/search?q=round+robin+source

Try the second link down.
 
Old 04-21-2005, 07:40 AM   #3
vishamr2000
Member
 
Registered: Aug 2004
Posts: 210

Original Poster
Rep: Reputation: 31
Unhappy help with shell script!!!

Hi to all,

I badly need some help with this. I need a shell script version of some C code I wrote. The basic idea is as follows:

variable x is given the value of 1 at start in script. When it goes down the function, I want it to retain the value at which the program terminated when it first ran so that when the program runs a second time, it takes the last value that x got assigned (that is either a 0 or a 1).

if(x==1)
{

printf("Good Morning!!");
x=0;
}

else
if(x==0)
{

printf("Good Afternoon!!");
x=1;
}

Thx in advance..
Regards,
Visham
 
Old 04-21-2005, 08:00 AM   #4
vishamr2000
Member
 
Registered: Aug 2004
Posts: 210

Original Poster
Rep: Reputation: 31
Sorry wrongly posted this new thread here...

Thx truckstuff but I actually searched with Google (all combinations tried)..the one you told me (Inlab) does give the source code of Round robin algo. alone...its together with all those other codes...

difficult to know where it starts and where it ends..

Don't u know of another link..better than this one?

Regards,
Visham
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dns round-robin tzkolinux Linux - Networking 1 12-27-2004 04:49 AM
Setting Up DNS Round Robin? Longhair Linux - Networking 0 05-26-2003 02:34 AM
Setting Up DNS Round Robin Longhair Linux - Newbie 0 05-25-2003 01:09 PM
round robin for servers deepagodkhindi Programming 5 05-11-2003 06:50 AM
Round Robin DNS Lucsi Linux - Software 1 07-18-2002 05:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 12:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration