Exchanging Data between two applications


 
Thread Tools Search this Thread
Special Forums IP Networking Exchanging Data between two applications
# 1  
Old 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
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Linux

Portable Applications

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

2. Shell Programming and Scripting

Scripting with applications

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

3. Shell Programming and Scripting

Extract data based on match against one column data from a long list data

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

4. UNIX for Advanced & Expert Users

Usernames across Applications

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. UNIX for Advanced & Expert Users

Publishing X applications

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

6. UNIX for Advanced & Expert Users

mmap vs shared memory - which is best for sharing data between applications?

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

7. UNIX for Dummies Questions & Answers

X applications

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
Login or Register to Ask a Question
Gnome2::Program(3pm)					User Contributed Perl Documentation				      Gnome2::Program(3pm)

NAME
Gnome2::Program - wrapper for GnomeProgram HIERARCHY
Glib::Object +----Gnome2::Program METHODS
string = $program->get_app_id string = $program->get_app_version string = $program->get_human_readable_name program = Gnome2::Program->init ($app_id, $app_version, $module_info=undef, ...) o $app_id (string) o $app_version (string) o $module_info (scalar) o ... (list) The list argument is for property-value pairs. list = $program->locate_file ($domain, $file_name, $only_if_exists) o $domain (Gnome2::FileDomain) o $file_name (string) o $only_if_exists (boolean) Returns a list of locations. moduleinfo = Gnome2::Program->module_load ($mod_name) o $mod_name (string) Gnome2::Program->module_register ($module_info) o $module_info (scalar) boolean = Gnome2::Program->module_registered ($module_info) o $module_info (scalar) program or undef = Gnome2::Program->get_program PROPERTIES
'app-datadir' (string : default undef : readable / writable) Data prefix where this application was installed 'app-id' (string : default undef : readable) ID string to use for this application 'app-libdir' (string : default undef : readable / writable) Library prefix where this application was installed 'app-prefix' (string : default undef : readable / writable) Prefix where this application was installed 'app-sysconfdir' (string : default undef : readable / writable) Configuration prefix where this application was installed 'app-version' (string : default undef : readable) Version of this application 'create-directories' (boolean : default true : readable / writable / construct-only) Create standard GNOME directories on startup 'enable-sound' (boolean : default true : readable / writable) Enable sound on startup 'espeaker' (string : default undef : readable / writable) How to connect to esd 'gnome-datadir' (string : default "/usr/share" : readable / writable / construct-only) Data prefix where GNOME was installed 'gnome-libdir' (string : default "/usr/lib" : readable / writable / construct-only) Library prefix where GNOME was installed 'gnome-path' (string : default undef : readable / writable / construct-only) Path in which to look for installed files 'gnome-prefix' (string : default "/usr" : readable / writable / construct-only) Prefix where GNOME was installed 'gnome-sysconfdir' (string : default "/etc" : readable / writable / construct-only) Configuration prefix where GNOME was installed 'goption-context' (gpointer : default 0 : readable / writable / construct-only) The goption context pointer that GnomeProgram is using 'human-readable-name' (string : default undef : readable / writable / construct-only) Human readable name of this application 'popt-context' (gpointer : default 0 : readable) The popt context pointer that GnomeProgram is using 'popt-flags' (integer : default 0 : writable / construct-only) The flags to use for popt 'popt-table' (gpointer : default 0 : writable / construct-only) The table of options for popt ENUMS AND FLAGS
enum Gnome2::FileDomain o 'unknown' / 'GNOME_FILE_DOMAIN_UNKNOWN' o 'libdir' / 'GNOME_FILE_DOMAIN_LIBDIR' o 'datadir' / 'GNOME_FILE_DOMAIN_DATADIR' o 'sound' / 'GNOME_FILE_DOMAIN_SOUND' o 'pixmap' / 'GNOME_FILE_DOMAIN_PIXMAP' o 'config' / 'GNOME_FILE_DOMAIN_CONFIG' o 'help' / 'GNOME_FILE_DOMAIN_HELP' o 'app-libdir' / 'GNOME_FILE_DOMAIN_APP_LIBDIR' o 'app-datadir' / 'GNOME_FILE_DOMAIN_APP_DATADIR' o 'app-sound' / 'GNOME_FILE_DOMAIN_APP_SOUND' o 'app-pixmap' / 'GNOME_FILE_DOMAIN_APP_PIXMAP' o 'app-config' / 'GNOME_FILE_DOMAIN_APP_CONFIG' o 'app-help' / 'GNOME_FILE_DOMAIN_APP_HELP' SEE ALSO
Gnome2, Glib::Object COPYRIGHT
Copyright (C) 2003-2004 by the gtk2-perl team. This software is licensed under the LGPL. See Gnome2 for a full notice. perl v5.14.2 2011-11-16 Gnome2::Program(3pm)