It is currently Wed Feb 08, 2012 5:15 pm

All times are UTC



Welcome
Welcome to RHAPSODY4YOU

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, respond to polls, upload and download content, and access many other special features. Registration is fast, simple, and absolutely free, so please, register to join our community today.





 Page 1 of 1 [ 2 posts ] 
Author Message
 Post subject: connection with another program by socket connection
PostPosted: Tue Aug 04, 2009 6:42 am 

Joined: Tue Aug 04, 2009 6:38 am
Posts: 3
Hi;
I am trying to connect and listen a .net program by using socket connection.I thing I can use OMOSSocket or OMOSConnectionPort to do this,but I do not know how can I use these classes.
Help??


Offline
 Profile  
 
 Post subject:
PostPosted: Wed Aug 05, 2009 12:17 pm 

Joined: Tue Dec 04, 2007 3:25 pm
Posts: 7
Location: Zürich
Hi Pinham

<TeacherMode>
This isn't exactly the right Forum for this kind of question. In "Rhapsody API" we usually discuss questions on the Rhapsody COM- (or Java-) API. An interface to automate Rhapsody using VB, Python (my preferred :wink: ), Perl, Java or any other scripting languages.

Your question would fit perfectly in "Framework". Where we discuss all the OM-, OMOS- and IOXF-stuff
</TeacherMode>

Anyway.
Both OMOSSocket and OMOSConnectionPort are used by Rhapsody for animation and for thus, only available in builds with activated instrumentation.

May I assume, your target OS is Windows and you're using Rhapsody in C++?
Then have a look in $(RhapsodyInstallDir)\Share\LangCPP\ntos.h /.cpp. There you'll find the classes NTSocket and NTConnectionPort, implementing the corresponding OMOS-interfaces, but compiled conditionally (#ifdef _OMINSTRUMENT)

You might use them, but you would have to tweak and rebuild the oxf Framework) libraries.

So, if you're familiar with the Win32 API, I would recommend to implement your own socket classes using rhapsody.
And if you're not, find a working socket-class by asking Mr Google. (There are many of them)

Regards
Christian



_________________
"I love deadlines. I like the whooshing
sound they make as they fly by." - Douglas Adams
Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


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 post attachments in this forum

Search for:


suspicion-preferred