04-14-2017
Looking for C code for MQ server to sed/receive messages
I am working on C program to connect to MQ websphere server send/receive messages. Can somebody give me examples of such program?
Thanks for contribution
10 More Discussions You Might Find Interesting
1. IP Networking
Requirements:
A server program should read a file and send the message to the client . if the file is not there, then switch to the receive part of the same program and receive any messages from the socket. If no messages to receive then switch to send part of the program to... (2 Replies)
Discussion started by: Rajeshsu
2 Replies
2. Shell Programming and Scripting
Hello Unix Gurus,
i want to know if we can receive mobile messages from our server.
situations like "application error/server crashed" should send an alert on my mobile.
Is it possible using mailx or other command?
if yes,pls let me know
regards
abhijeet
India (2 Replies)
Discussion started by: abhijeetkul
2 Replies
3. Linux
Can anybody please tell me how to configure linux to receive snmp traps from a windows server? I am not able to receieve snmp traps on unix machines specifically linux and solaris. I have tried starting snmptrapd service on linux but it didn't work. Is there anything special that I have to do on... (2 Replies)
Discussion started by: iamtulipin
2 Replies
4. Shell Programming and Scripting
Hi All,
I have sent a mail to my gmail id using the below command.
echo " " | mailx -s "sub" myid@gmail.com
I didn't get any error notification. But still I didn't receive that mail still..
please help me to learn how to send mail to other provider (Yahoo/gmail) from unix server.... (1 Reply)
Discussion started by: little_wonder
1 Replies
5. Shell Programming and Scripting
Hi,
I would like to write a program to receive the GPS data and then send the data via network to other program.
All of the program is not write yet(include host and sender)
All of the server OS is unix or linux
Could you mind to give me some idea to do this?
Thanks so much!
Ken
... (2 Replies)
Discussion started by: kenlok
2 Replies
6. Programming
char name;
printf ("Welcome to the server \n");
printf ("Enter user name: \n");
scanf ("%c", &name);
how can client send name to server:what should be the code?
int send ( int sid , const char ∗buffer Ptr , int len , int f l a g )
how can client receive ack from... (1 Reply)
Discussion started by: saiful_911
1 Replies
7. Shell Programming and Scripting
I have two application server appserver1 and appserver 2. A script will run from appserver1 which main activity is
1. Connect with the apserver 2 and run a script which saved on appserver2
2. the saved script will in appserver 2 will complete its task and generate a log
Problem i need to... (0 Replies)
Discussion started by: Imtiaz43
0 Replies
8. UNIX for Dummies Questions & Answers
I'm just starting to understand how awk works and yet this is really driving me crazy. I can't guarantee the rest is correct but I know the input is not being received via the ' $ ' sign. Can anyone tell me what's wrong with my code??
{
EAS_ACC=$2;
NOR_ACC=$3;
... (7 Replies)
Discussion started by: o2tha1
7 Replies
9. Solaris
Hello,
I am new to Solaris. However, I was able to configure the Syslog server on Solaris. I am using a windows client to send logs to my Solaris syslog server. this is working fine. however, I have 23 servers which are sending their logs to the syslog server and it is very difficult to read all... (2 Replies)
Discussion started by: ravmohun
2 Replies
10. HP-UX
Hi,
I have reports that are generated in one server (10.61.1.108), hostname l28bi01. These reports are supposedly sent to a group of email addresses hourly via an email relay server. However, this is not happening.
In sendmail.cf in bi01, the DS Smart Relay Host ip address is:
... (3 Replies)
Discussion started by: anaigini45
3 Replies
on(1) User Commands on(1)
NAME
on - execute a command on a remote system with the local environment
SYNOPSIS
on [-i] [-d] [-n] host command [argument] ...
DESCRIPTION
The on program is used to execute commands on another system, in an environment similar to that invoking the program. All environment vari-
ables are passed and the current working directory is preserved. To preserve the working directory, the working file system must be either
already mounted on the host or be exported to it. Relative path names will only work if they are within the current file system. Absolute
path names may cause problems.
The standard input is connected to the standard input of the remote command. The standard output and the standard error from the remote
command are sent to the corresponding files for the on command.
OPTIONS
The following options are supported:
-d Debug mode. Prints out some messages as work is being done.
-i Interactive mode. Uses remote echoing and special character processing. This option is needed for programs that expect to be talk-
ing to a terminal. All terminal modes and window size changes are propagated.
-n No Input. This option causes the remote program to get EOF when it reads from the standard input, instead of passing the standard
input from the standard input of the on program. For example, -n is necessary when running commands in the background with job
control.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWnfscu |
+-----------------------------+-----------------------------+
SEE ALSO
chkey(1), rlogin(1), rsh(1), telnet(1), attributes(5)
DIAGNOSTICS
unknown host
Host name not found.
cannot connect to server
Host down or not running the server.
can't find
Problem finding the working directory.
can't locate mount point
Problem finding current file system.
RPC: Authentication error
The server requires DES authentication and you do not have a secret key registered with keyserv. Perhaps you logged in without a pass-
word. Try to keylogin. If that fails, try to set your publickey with chkey.
on server: RPC: can't encode arguments
The 10240 byte limit for arguments to be encoded and passed from the sending to the receiving system has been exceeded.
Other diagnostic messages may be passed back from the server.
BUGS
When the working directory is remote mounted over NFS, a Control-Z hangs the window.
Root cannot use on.
SunOS 5.10 8 Oct 2003 on(1)