ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ API Support » Client-Server Communication

Post new topic  Reply to topic
 Client-Server Communication « View previous topic :: View next topic » 
Author Message
Reeti
PostPosted: Thu Apr 03, 2003 5:43 am    Post subject: Client-Server Communication Reply with quote

Apprentice

Joined: 11 Jul 2002
Posts: 40

Hi:

I'm trying to establish the client server communication in MqSeries Unix environemnt. After setting up the communication when I'm trying to connect to the server using the sample executable amqscnxc then it is connecting.
Now how can I use the sample C++ programs to do the client-server communication. It would be really helpfull if u pls. let me know the steps in details.

Regards
Reeti
Back to top
View user's profile Send private message
mqonnet
PostPosted: Thu Apr 03, 2003 6:05 am    Post subject: Reply with quote

Grand Master

Joined: 18 Feb 2002
Posts: 1114
Location: Boston, Ma, Usa.

You would find all that you need in the Intercommunication guide and the App prog ref/guide.

You need to do the following.

1) Use the sample C++ program and compile using mqic32.lib to compile using client libraries.
2) Define mqserver variable with respective values.
3) Define svrconn channel on server.
4) Start your listener.
5) Start your c++ app supplying the params.

Cheers
Kumar
_________________
IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bower5932
PostPosted: Thu Apr 03, 2003 7:38 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

The mqic32.lib file is actually for a C client program. If you are using C++, the library has a different name. The specific libraries are mentioned in the Using C++ manual. It should be something like:

libimqc23ff.so for client
libimqs23ff.so for server
libimqb23ff.so needed for both
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
mqonnet
PostPosted: Thu Apr 03, 2003 7:41 am    Post subject: Reply with quote

Grand Master

Joined: 18 Feb 2002
Posts: 1114
Location: Boston, Ma, Usa.

Ooops...

Thanks brower for correcting me.

Cheers
Kumar
_________________
IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » Client-Server Communication
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.