|
QSA ToolWorks Public Feedback Forum forum home | register | profile | members |search | faq homepage | lost password? | chat room |
| QSA ToolWorks Public Feedback Forum > TCP/IP > AppleEvents and TCP/IP | You are not logged in. Login or Register. |
| Pages: 1 |
| Author: | Topic: AppleEvents and TCP/IP | |||
| chuckbo Posts: 42 Registered: 2003-04-09 |
This question/remark may not make much sense ... I probably don't know enough about AppleEvents and TCP/IP networking to know if this is a meaningless question. But here goes. Right now, I have a RealBasic program that extracts data via AppleEvents. I'm working on making it able to grab data from databases on other machines (though I'm told by Fred that the getappleEventTarget doesn't work in OS X so I don't know if I'm totally thwarted yet) -- but that's not my question. I'm wondering how one connects to a server to retrieve data if it's on a TCP/IP connection. It won't have a computer name or a zone or anything like that. In other words, if I'm talking to a collection via TCP/IP, will I still be able to retrieve data with AppleEvent calls? chuck - Edited by chuckbo on: Mar 31, 2004 11:04:29 pm |
|||
| Ryan Wilcox Posts: 32 Registered: 2003-04-17 |
quote: Yes, you should be able to remotely everything you can do with the database locally. The trick is of course to target the machine. I <em>suspect</em> you should somehow use the new URL descriptor type for your target AEDesc, but I'm not sure how those work myself. (Not without writting test programs, further reading documentation, etc etc.) Hope this helps a little, _Ryan Wilcox
|
|||
| Fred Posts: 57 Registered: 2003-04-10 |
Currently you have three options well actually 4 but I'm discounting CallHelix as too much work to wrap everything into the application: 1) Purchase a copy of Osmosis Gateway for each app that you sell (commonground) and modify your code to send the corrresponding telnet commands through a socket. 2) Create you own gateway application to handle appleevents and have that running on every server. Write your own protocol to handle your communication between the gateway and your client app. In this case your gateway will only use local appleevents to talk to Helix. 3) Include the necessary declares and appleevents for the Apple Event manager (as from OSX 10.3 ) within your existing code for with conditional compiles. However this would exclude any OSX users prior to 10.3. I reckon number 2 is the best bet and most Xplatform ;?) However, what would be even more Xplatform is if HT give us a "datagram" opening with Chaski...... nudge nudge Fred |
|||
| Ryan Wilcox Posts: 32 Registered: 2003-04-17 |
quote: While I'm not completely sure how declares work in RealBasic (haven't used it in over 3 years), the AppleEvent Manager API hasn't changed much at all since System 7. Using declares <em>should</em> work with any Mac OS your app runs on. quote: Exactly what do you mean, Fred? What's this "datagram"? Does Western Union still sell those ![]() Later, _Ryan
|
|||
| Fred Posts: 57 Registered: 2003-04-10 |
Ryan quote: Read the recent Apple Event Manager pdf for info on remote events. Helix uses datagrams for their TCP/IP implementation. Check it out. Give it an etherpeek javascript:SetSmiley(' ')And who's "western union" ?? Later.. sweet dreams fred |
|||
| Ryan Wilcox Posts: 32 Registered: 2003-04-17 |
quote: Western Union (I believe) used to deliver telegraph messages to people here in the US. Now they mostly do money order stuff (as I'm betting the market for sending telegraphs is pretty small these days). Now you know, _Ryan
|
| Pages: 1 |
| Lost Password? Powered by UPB Version : 1.8 A script by PHP Outburst |