470,810 Members | 1,152 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,810 developers. It's quick & easy.

vb.net - IPC named pipes or shared memory


I need to communicate between two processes. I tryed using named pipes, but
I'm afraid it's too complex for me...

I'd like to explain what I need. The two processes must just exchange an
array of two bytes. The successive writes should overwrite the previous ones.
For example, the process A sends byte0=7, byte1=9 and then it sends byte0=8,
byte1=10. The process B reads only after the second array is sent. The read
array should be byte0=8, byte1=10, the first array should not be read. So
every process must always see only the last array of bytes.

As I've said above, I've not been able to do it using named pipes. So I did
it using the FileSystem class, and it works. But I would need a faster

Can you please show me how to do the same in memory?
Feb 9 '06 #1
0 1517

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by glenn.owens | last post: by
4 posts views Thread by Ken Allen | last post: by
9 posts views Thread by Maxwell2006 | last post: by
9 posts views Thread by David T. Ashley | last post: by
2 posts views Thread by fahad.usman | last post: by
1 post views Thread by dgk | last post: by
7 posts views Thread by andrewb | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.