maybe taco..but it wouldnt work from CF because there would be no way to send the data back to the client if your client is a web browser.
you can do a simple chat program using java/c++ sockets ...but your clients need to be able to open/close these sockets with the server (eg. applet or command line app) the other way to do this is with something like flash comm server (which is doing the same thing i mentioned above..just at a low level u dont have to program yourself) OR using CF by submitting to the server (form post) and then making the pages expire with javascript and reload whats in the servers memory (session object) to each client in the chat. ..theeres a good example of this in ben forta's reality cold fusion mx book. pat "Taco Fleur" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] maybe a stupid question (I'm known for them ;-)), but could this be used to write a chat client/server with? i.e. client -> (data) -> server server -> (data) -> client (data) -> client (data) -> client (data) -> client (data) -> client -----Original Message----- From: Stephen Bosworth [mailto:[EMAIL PROTECTED] Sent: Friday, 28 November 2003 8:34 AM To: CFAussie Mailing List Subject: [cfaussie] RE: Reading and writing to TCP IP ports Found this good resource:- http://cephas.net/blog/coldfusion/ Look under the example Using Sockets in CFMX. This will allow you to create a socket to a port on a machine and send data to it HTH, Steve -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Stephen Bosworth Application Development and Integration Communication and Information Services The University of Newcastle, Australia Phone: 02 4921 6574 Fax: 02 4921 7087 Email: [EMAIL PROTECTED] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>> [EMAIL PROTECTED] 27/11/2003 8:17:44 pm >>> Thanks Vaughan and Kym - much appreciated! I'm sure one of those will work. Cheers, Phil. --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004 --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004
