[LCP]my queries

Bradley, Peter PBradley at uwic.ac.uk
Wed Jan 7 00:32:02 UTC 2004


Aditya,

I think you have to think "protocol".  It's not hard to write your own protocol - after all, it only has to work for you.  

As I've said to you privately, I can't believe you're being expected to use RPC and stuff - unless you're on a very high level course: and if you're on such a course, you certainly don't need help from the likes of me!!

As others have said, it's hard to go any further than this without your professor letting us know how much help you're entitled to.


Peter Bradley
Senior Analyst/Programmer
Athrofa Prifysgol Cymru, Caerdydd (UWIC)

 -----Original Message-----
From: 	aditya tomar [mailto:adityasinghtomar at hotmail.com] 
Sent:	06 January 2004 15:20
To:	linuxcprogramming at lists.linux.org.au
Subject:	Re: [LCP]my queries


I would like to know how can I send signal in the form of data through 
sockets, to send commands to a machine.Please let me know the conceptual 
level first after that if I have a doubt then I will once agin consult you;


thank you

Aditya

>From: David Spencer <david.w.spencer at oracle.com>
>Reply-To: linuxcprogramming at lists.linux.org.au
>To: linuxcprogramming at lists.linux.org.au
>Subject: Re: [LCP]my queries
>Date: Tue, 06 Jan 2004 14:47:46 +0000
>
>There are several questions you will need to address on a conceptual level 
>before you can start looking at code.
>
>You will need to determine how you calculate load on each machine.  Are you 
>just going to assign tasks to the next machine in the list, or have a more 
>complex way of determining which is the least busy?
>
>How to launch a process on a remote host: basically, you can't, but how 
>difficult this is to solve depends on what software you have installed.  
>The problem can be reduced to "how to send commands to a machine", "how to 
>listen for commands" and "how to launch a process locally", then you need a 
>daemon to do the last two, if that is already installed the solution is 
>trivial; if not you will need to write one.  I don't know what a "Rhwo 
>server" is, perhaps this is some sort of package that includes 
>functionality like that.  If so you need to consider RTFM.
>
>Dave.
>
>
>aditya tomar wrote:
>
>>Hello
>>
>>
>>I totally agree with your point of view.this group is meant for taking 
>>advices and sharing views. As I am new to this group therfore I was not 
>>knowing the regulation of this group. sorry for that , its my fault.
>>
>>anyway; Regarding  my assignment I had accomplish making socekts between 
>>broker and client and server; this problem which I am facing is " how to 
>>launch a particular process in remote host", how to send this information 
>>in tha buffer area of sockets.Also how i will be using Rhwo server to 
>>calculate the load of each terminal in the network. so that I shift my 
>>process to that host;
>>
>>Thank You
>>
>>Aditya
>>
>>
>>
>>
>>>From: "Bradley, Peter" <PBradley at uwic.ac.uk>
>>>Reply-To: linuxcprogramming at lists.linux.org.au
>>>To: <linuxcprogramming at lists.linux.org.au>
>>>Subject: RE: [LCP]thanks
>>>Date: Tue, 6 Jan 2004 12:30:28 -0000
>>>
>>>Aditya,
>>>
>>>You're coming across as though you feel that you can demand (as opposed 
>>>to solicit) help from this group.
>>>
>>>English is my second language, so I'm conscious that sometimes I make a 
>>>wrong impression because my command of the language is not as good as 
>>>that of a native speaker.  Maybe this is the case for you.
>>>
>>>I think the group needs to know firstly that we are not helping you to 
>>>cheat.  Some colleges insist that assignments are all your own work.
>>>
>>>Secondly, I think the group would like to see how you are considering 
>>>approaching the problem and what your ideas are - as a sign of good 
>>>faith, if you like.
>>>
>>>I've no right to speak on behalf of the group, so I will stand corrected 
>>>if I've misinterpreted things.  However, I feel that maybe a barrier of 
>>>misunderstanding is developing here which needs to be addressed before 
>>>things get acrimonious.
>>>
>>>
>>>Peter Bradley
>>>Senior Analyst/Programmer
>>>Athrofa Prifysgol Cymru, Caerdydd (UWIC)
>>>
>>>  -----Original Message-----
>>>From:     aditya tomar [mailto:adityasinghtomar at hotmail.com]
>>>Sent:    06 January 2004 12:04
>>>To:    linuxcprogramming at lists.linux.org.au
>>>Subject:    [LCP]thanks
>>>
>>>
>>>Thanks for the reply
>>>
>>>I had posted this under Linuc/c category because my professor had given 
>>>me
>>>this final assignment to be coded in C to be Run under Linux.
>>>Now please tell me or give me some  advice to to accomplish this task so
>>>that I can achieve this Task.
>>>
>>>thank you
>>>
>>>Aditya
>>>
>>> >From: Mike and/or Penny Novack <stepbystepfarm at mtdata.com>
>>> >Reply-To: linuxcprogramming at lists.linux.org.au
>>> >To: linuxcprogramming at lists.linux.org.au
>>> >Subject: Re: [LCP]help needed !!!!!!!!!!!!
>>> >Date: Mon, 05 Jan 2004 10:29:13 -0500
>>> >
>>> >Aditya,
>>> >
>>> >    WHY are you asking THIS question on a Linux/C list?
>>> >
>>> >    I am not saying that people here wouldn't be able and/or willing to
>>> >help you with this design problem BUT (a very big but) if you imagine 
>>>that
>>> >at the current stage of process design you should even be considering
>>> >things like "language to be written in" or "operating system to be run
>>> >under" then you are not approaching your problem correctly and your 
>>>design
>>> >is bound to fail.
>>> >
>>> >    KEEP IT ABSTRACT (for now). At this stage, where all you have  is 
>>>this
>>> >definition of what the process must do, any time you catch yourself
>>> >thinking about C or Linux STOP!
>>> >
>>> >    That's all the advice/help I will give until I now more about what 
>>>this
>>> >question is all about. For example.......
>>> >
>>> >    This looks very much like a "case problem" (final assignment) for a
>>> >course in "distributed processes". In which case you need to tell us 
>>>more
>>> >about the conditions imposed by the teacher of the class -- for 
>>>example,
>>> >what sorts of aid are you allowed to receive? And with regard to what
>>> >portions of the problem. For example, what is your "delieverable"? 
>>>(just a
>>> >design? or a finished set of programs coded in C or C++ and to be run 
>>>under
>>> >Linux?). There could be help with the basic design, help by walking 
>>>through
>>> >YOUR design to find where you might have made errors, help with
>>> >implementing the design (in C), help walking through your coding to
>>> >indicate errors, help in debugging during testing of you application, 
>>>etc.
>>> >WHAT HELP IS ALLOWED?
>>> >
>>> >     Or this could be a "on the job" problem. In which case (at least 
>>>for
>>> >myself) I would need to know more about for whom ---- as a  senior 
>>>analyst
>>> >retired form a Fortune 500 "financial" I might be prefectly willing to 
>>>help
>>> >out a non-profit gratis but would expect to be paid for "consulting" if
>>> >doing a design for a commercial entity.
>>> >
>>> >Michael D Novack
>>> >
>>> >_______________________________________________
>>> >This is the Linux C Programming List
>>> >:  http://lists.linux.org.au/listinfo/linuxcprogramming List
>>>
>>>_________________________________________________________________
>>>Start getting interview calls immediately.
>>>http://go.msnserver.com/IN/40245.asp Post your CV on naukri.com today.
>>>
>>>_______________________________________________
>>>This is the Linux C Programming List
>>>:  http://lists.linux.org.au/listinfo/linuxcprogramming List
>>>
>>>
>>>_______________________________________________
>>>This is the Linux C Programming List
>>>:  http://lists.linux.org.au/listinfo/linuxcprogramming List
>>
>>
>>_________________________________________________________________
>>Free drafts to 700 locations. 
>>http://server1.msn.co.in/msnleads/suvidha/dec03.asp?type=hottag Click 
>>here.
>>
>>_______________________________________________
>>This is the Linux C Programming List
>>:  http://lists.linux.org.au/listinfo/linuxcprogramming List
>
>
>_______________________________________________
>This is the Linux C Programming List
>:  http://lists.linux.org.au/listinfo/linuxcprogramming List

_________________________________________________________________
Free drafts to 700 locations. 
http://server1.msn.co.in/msnleads/suvidha/dec03.asp?type=hottag Click here.

_______________________________________________
This is the Linux C Programming List
:  http://lists.linux.org.au/listinfo/linuxcprogramming List





More information about the linuxCprogramming mailing list