03-06-2006
Exchanging Data between two applications
Hi Friends,
Please send me the code for exchanging the data between two programs.
The scenario is like below:-
Program A reads data and sends it to Program B.
Program B accept the data from program A and then prints it on console or give to printer for printout.
If one or more programs sends data to Program B then Program B waits untill it recieved the data from mulitple programs and atlast prints the data what it recieved.
we must use duplex or half duplex communication.
Here we need to develop code for two programs.one is for reading data from user and sending it to second program.
Another code is for second program for reading the data which was sent by first program.The second program must use WAIT call inorder to listen data from mulitiple programs.
Please send me the code for the above scenario. Friends I would be very greatful for your earliest reply. Many thanks in advance.
Regards
Anjan
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am an Oracle DBA who has previously worked only on NT machines. I need to install Oracle on an AIX box. This Unix server has only a CRT monitor. The Oracle installation REQUIRES a graphical means of seeing the Unix machine. I've been told that I should telnet from a PC that can display X... (2 Replies)
Discussion started by: jbrax
2 Replies
2. UNIX for Advanced & Expert Users
Between mmap and shared memory which is the best method of sharing data between multiple applications, interms of speed? (2 Replies)
Discussion started by: nmds
2 Replies
3. UNIX for Advanced & Expert Users
Hi all,
I have some UNIX servers (all flavor to be honest: SOLARIS, AIX, HP-UX) running some applications.
I would like to publish these applications to remote client mainly running Windows XP.
I know i can remotely access the desktop thanks to Cygwin,Hummingbird EXCEED...
But I don't... (2 Replies)
Discussion started by: Platinium
2 Replies
4. UNIX for Advanced & Expert Users
Hello everyone, I was just wondering if there was a way to make it so that usernames could be used across applications.
For instance, I have a server that has a bunch of users. I want these users to have ways of accessing my database as well as a variety of other programs, but I don't want them... (2 Replies)
Discussion started by: gonzofish
2 Replies
5. Shell Programming and Scripting
My input file:
data_5 Ali 422 2.00E-45 102/253 140/253 24
data_3 Abu 202 60.00E-45 12/23 140/23 28
data_1 Ahmad 256 7.00E-45 120/235 140/235 22
data_4 Aman 365 8.00E-45 15/65 140/65 20
data_10 Jones 869 9.00E-45 65/253 140/253 18... (12 Replies)
Discussion started by: patrick87
12 Replies
6. Shell Programming and Scripting
Hi,
I am developing a script that invokes a program, and that program is going to prompt for some input every now and then based on some parameters.
My script shall provide input to the program, automatically, by processing the text output by the program..
say..
when the program asks ... (3 Replies)
Discussion started by: icecoldaswin
3 Replies
7. Linux
Hello
Im stuck with a project on converting existing applications in to their portable versions, What i mean is that i want an application to run on a Linux OS without the need of actually installing the application on that machine. My preffered OS is fedora as it is used on most machines in my... (1 Reply)
Discussion started by: engineeringme
1 Replies
LEARN ABOUT DEBIAN
synce-remove-program
SYNCE-REMOVE-PROGRAM(1) http://synce.sourceforge.net/ SYNCE-REMOVE-PROGRAM(1)
NAME
synce-remove-program - removes a program from your device
SYNOPSIS
synce-remove-program [-d LEVEL] [-p device_path] [-o UNLOAD_OPT] NAME ...
DESCRIPTION
synce-remove-program removes a program on a device connected through SynCE.
OPTIONS
-d LEVEL
Set debug log level:
0 - No logging (default)
1 - Errors only
2 - Errors and warnings
3 - Everything
-p PATH
Path to device
-h Display help message.
-o UNLOAD_OPT
Flags to pass to unload.exe on the remote device. Currently no flags are known, but this flag is here in case we find some.
NAME The name of the program on the device. Program names are in the form "Provider Program". This is the same way the name will appear
under Settings -> Remove programs on your device, or in the ouput from synce-list-programs.
AUTHOR
David Eriksson <twogood@users.sourceforge.net>.
SEE ALSO
synce(1) synce-list-programs(1) synce-install-cab(1) prun(1)
The SynCE project November 2002 SYNCE-REMOVE-PROGRAM(1)