LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 08: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, 08: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, 06: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, 07: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



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 03:49 AM
Setting Up DNS Round Robin? Longhair Linux - Networking 0 05-26-2003 01:34 AM
Setting Up DNS Round Robin Longhair Linux - Newbie 0 05-25-2003 12:09 PM
round robin for servers deepagodkhindi Programming 5 05-11-2003 05:50 AM
Round Robin DNS Lucsi Linux - Software 1 07-18-2002 04:17 AM

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

All times are GMT -5. The time now is 12:04 PM.

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