Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C Shared memory and Forks

Name: a 2014-02-27 20:13

I am stuck on my assignment if anyone could help me that would be great.

assignment:
Each program creates two children processes: The first is “Alice” and the 2nd is “Bob”
Alice and Bob communicate using the following IPC methods:
 
          shared memory

Alice and Bob uses Diffie-Hellman to establish a shared secret to be  used  for encrypting their communication.

For the purpose of this assignment, assume:

p = 103
g = 101
SA   and  SB   are random numbers between 1 and 100.

My Code: http://pastebin.com/mdxzxc4x

Name: AHMED 2014-02-28 8:16

­

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List