Unix/Linux Go Back    

Programming Post questions about C, C++, Java, SQL, and other programming languages here.

C program using IPC (inter process communication)


linux download

Thread Tools Search this Thread Display Modes
Old Unix and Linux 12-07-2008   -   Original Discussion by localp
localp localp is offline
Registered User
Join Date: Apr 2008
Last Activity: 7 December 2008, 1:56 PM EST
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
C program using IPC (inter process communication)

i want to write a C chat program that communicates over IPC(inter process communication), that could be run using 2 seperate terminal windows within the same computer. so that wat u type in one terminal window , should appear on the other and vice versa...

could some one please help me with the code, or any explanation .... i am new to C ...LinuxLinuxLinuxLinuxLinux
Sponsored Links
Old Unix and Linux 12-12-2008   -   Original Discussion by localp
jim mcnamara jim mcnamara is offline Forum Staff  
Join Date: Feb 2004
Last Activity: 19 November 2017, 6:24 AM EST
Location: NM
Posts: 11,239
Thanks: 571
Thanked 1,116 Times in 1,030 Posts
Read Chapter 5 on interprocess communication:
Download Advanced Linux Programming
Sponsored Links
Old Unix and Linux 12-12-2008   -   Original Discussion by localp
matrixmadhan matrixmadhan is offline Forum Advisor  
Technorati Master
Join Date: Mar 2005
Last Activity: 10 January 2017, 8:10 AM EST
Location: classification algos
Posts: 3,215
Thanks: 19
Thanked 31 Times in 28 Posts
i am new to C .
If you are new to 'c', then starting with IPC's may not be the writing thing to go with as beginning.

Instead, I would suggest to get a good grasp of 'c' basics and then move on to the link provided by Jim.

All the best ! Linux
Sponsored Links

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Inter-shell communication xinUoG OS X (Apple) 2 09-05-2010 11:48 AM
help with write-read locks inter-process weizh Programming 1 06-12-2010 04:18 AM
Inter-process communication:pipes,doors,etc. adderek UNIX for Advanced & Expert Users 2 01-18-2008 05:39 PM
Inter Process File Handling Problem saurabhjain HP-UX 4 05-12-2005 12:49 PM
Inter Process Communication kamathanil Programming 2 08-07-2001 07:32 AM

All times are GMT -4. The time now is 05:48 PM.