|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Client-Server Communication |
« View previous topic :: View next topic » |
Author |
Message
|
Reeti |
Posted: Thu Apr 03, 2003 5:43 am Post subject: Client-Server Communication |
|
|
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 |
|
 |
mqonnet |
Posted: Thu Apr 03, 2003 6:05 am Post subject: |
|
|
 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 |
|
 |
bower5932 |
Posted: Thu Apr 03, 2003 7:38 am Post subject: |
|
|
 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 |
|
 |
mqonnet |
Posted: Thu Apr 03, 2003 7:41 am Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|