> We have a CFMX-based reservation application. There's a 
> software company that wants to partner with us to provide 
> some interoperability with a Win32 reservation management 
> application. Match made in heaven, right?
> 
> The proposal is to have a "Get my reservations" button at 
> some location, which would send a delimited file to a 
> certain port on the requester's machine. The Win32 app will 
> constantly be listening to that port when it's running, and 
> will scan the destination directory where this file is supposed
> to be placed on startup for any updates. When it finds/gets 
> updates, it will automatically drop all the data into whatever
> structure it uses internally.
> 
> So, I'm just starting to think my way through this one.  
> Assuming the port is open (we'll conveniently not think 
> about blocked ports, firewalls, ZoneAlarm or anything else 
> at this point), how would you think I should go about this?  
> The client won't have any server software on their end, so 
> I'll basically have to push a bunch of bytes to a specific 
> address:port and assume the machine lets me write it there.  
> Does CFMX have anything internal that might facilitate this, 
> or would I be better off writing an app and running it via 
> <cfexecute>?

I'm a little confused. Where will the Win32 application reside, exactly?
Will it be on the end-users machine? If so, why not have the Win32
application just fetch the file itself, if it's running? It sounds like the
approach you're proposing is a bit backwards.

If you are going to proceed this way, good luck - I imagine that it simply
won't work in many locations, because of the firewall issue you mention.
However, in any case, you might find these useful:

http://java.sun.com/docs/books/tutorial/networking/sockets/
http://www.javaworld.com/javaworld/jw-12-1996/jw-12-sockets.html

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Reply via email to