I just did a Google search for "tcpclient java" and got quite a few hits, including some useful programs.
----- Original Message ----- From: Jim Campbell <[EMAIL PROTECTED]> Date: Wednesday, November 27, 2002 1:53 pm Subject: Re: Pushing a file to a specified port? > Definitely not COM - we're running CFMX on Linux, and aside from > technicalissues, I'm an equal-time Java / CF developer, so I'll go > with what I know. > That said (if anyone's interested in the resolution), I'm simply > going to > have a Java bean act as my broadcaster. You're right, I don't > exactly need > CF to do the "active" part, but since the reservations would be > submittedthrough a CF app, it can simply use the bean as needed > when certain > reservations are initially submitted. The "passive" approach > would simply > use a slightly different interface to the same bean. > > I've already written a little stub listener on a test server that > seems to > be recieving the data just fine, so with a few tweaks, I can have this > rolled out pretty quickly. The client app developer will have to > write a > file if it wants to, but I think they just want the data. > > Thanks to everyone for their input, I really appreciate it. > > - Jim > > > ----- Original Message ----- > From: "Dave Watts" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Wednesday, November 27, 2002 2:19 PM > Subject: RE: Pushing a file to a specified port? > > > > > Sorry, the Win32 app resides on the client's side. > > > Essentially, there are two modes, call them "passive" > > > and "active". On our server side, the "active" mode > > > will push new reservations out to the client's machine > > > as they come in. "Passive" would use the aforementioned > > > button to get the data. > > > > > > I agree, it is a bit backwards, and after some prodding, > > > they agreed that having the client app do all the work > > > for the "passive" mode is more feasable, but the "active" > > > functionality is the real deal-maker. So, though I imagine > > > it will work on maybe 10% of client computers (hey, I'm an > > > optimist), I'm off to the sockets tutorial to see what I > > > can pick up. > > > > As Samuel Neff suggested, you'll want to write this as a Java > class, then > > call that from CF. > > > > If you're running CFMX on Windows, you might try Lewis Sellers' > TCPClient> COM object. I've been able to use it from within CFMX, > although I'll add > the > > caveat that I'd try to avoid COM from CFMX in general. > > > > >From the sound of it, though, you could do the "active" stuff > without CF > at > > all, I think. > > > > 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 Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm

