Serial revisited
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
optimal exchange of data inbetween 2 processes
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.
Quoted 6 lines · joy
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.
Quoted 5 lines
Thanx in advance,
Joy.M.M