Completed Server client using pipes and fifo
**Issues faced
#Using Pipe—-The parent was executing before the client and terminating and the data in the pipe was nt read by the client …Resolved using sleep condition in both server and client.
#Using Pipe—The system call pipe when made in if(!pid) condition was nt letting arr to be accessed in parent due to which the pipe wasnt reading data…. Resolved by putting pipe(arr) in the beginning befor fork()
#in fifo project if i ran the client script containing 10-100 clients after ./server then the server is reading data of only the foreground client and terminating…Resolved by running the script first then after 2secs starting the server ./server.