* Serial revisited
@ 2004-05-09 3:53 joy
2004-05-10 2:52 ` optimal exchange of data inbetween 2 processes J.
2004-05-10 15:21 ` Serial revisited joy
0 siblings, 2 replies; 3+ messages in thread
From: joy @ 2004-05-09 3:53 UTC (permalink / raw)
To: linux-c-programming
Hi again,
I had a small doubt about serial transmission,(AGAIN:-( )
it's just this:
If I want to send an int through the port, which is stored as 32 bytes
in any comp, but my target platform is an 8 bit one, how can I do
it without losing information(Eg: opcodes for any 8 bit processor
cross assembled on the PC)
Thanx in advance,
Joy.M.M
^ permalink raw reply [flat|nested] 3+ messages in thread
* optimal exchange of data inbetween 2 processes
2004-05-09 3:53 Serial revisited joy
@ 2004-05-10 2:52 ` J.
2004-05-10 15:21 ` Serial revisited joy
1 sibling, 0 replies; 3+ messages in thread
From: J. @ 2004-05-10 2:52 UTC (permalink / raw)
To: linux-c-programming
Monday, May 10 04:38:13
Hello,
I have almost fininshed the code for a program which is split in to two
processes. The only thing I have to do now is to connect them so that they
can exchange data.
One process generates data, the other one reads it. The amount of data
which needs to be transfered is fairly small, roughly 800 bytes a second.
What is the best way to implement this, with sockets or with pipes ?
Are there any 'general' guidelines for what option to use and what not to
use regarding the amount of data that needs to be transfered ?
Thnkx a lot.. If you guys could give me some thoughts..
J.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Serial revisited
2004-05-09 3:53 Serial revisited joy
2004-05-10 2:52 ` optimal exchange of data inbetween 2 processes J.
@ 2004-05-10 15:21 ` joy
1 sibling, 0 replies; 3+ messages in thread
From: joy @ 2004-05-10 15:21 UTC (permalink / raw)
To: linux-c-programming
joy wrote:
> Hi again,
>
> I had a small doubt about serial transmission,(AGAIN:-( )
> it's just this:
> If I want to send an int through the port, which is stored as 32 bytes
> in any comp, but my target platform is an 8 bit one, how can I do
> it without losing information(Eg: opcodes for any 8 bit processor
> cross assembled on the PC)
figured it out. I just had to write the whole code into a char .looks
funny, but after all, its a binary file
sorry for wasting your time, thanx to all.
>
> Thanx in advance,
> Joy.M.M
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-05-10 15:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-09 3:53 Serial revisited joy
2004-05-10 2:52 ` optimal exchange of data inbetween 2 processes J.
2004-05-10 15:21 ` Serial revisited joy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).