We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSyntax Questions › Hi ! Is there something like XmlSocket
Page Index Toggle Pages: 1
Hi ! Is there something like XmlSocket ? (Read 689 times)
Hi ! Is there something like XmlSocket ?
Jan 25th, 2006, 3:36am
 
Hi ! I want to use processing to control hardware via RS232, but if use Serial Libraries , it can't run in a browser.

In flash ,there is a XmlSocket ,use it can connect Serial Proxy , so it can control hardware in web.

Is there something like XmlSocket in processing?

Thank you!
Re: Hi ! Is there something like XmlSocket ?
Reply #1 - Jan 25th, 2006, 4:12am
 
Check this:
http://www.texone.org/proxml/

It's linked from here:
http://www.processing.org/reference/libraries/
Re: Hi ! Is there something like XmlSocket ?
Reply #2 - Jan 25th, 2006, 8:06am
 
Thank you REAS, but I don't think that is a XmlSocket, it's a XML library , only control the xml file, but I want a Socket.

can use such way to connect
for example:
"mySocket.connect("localhost", 5060)"
localhost is the host, 5060 is the port.
if connect scusses then can send and receive date.
Re: Hi ! Is there something like XmlSocket ?
Reply #3 - Jan 25th, 2006, 12:13pm
 
check processing.net

documentation here:
http://processing.org/reference/libraries/net/index.html

and in the examples of your processing app you will find valueClient and valueServer which should do what you are looking for.
Re: Hi ! Is there something like XmlSocket ?
Reply #4 - Jan 25th, 2006, 4:35pm
 
Oh! Thank you !!! That's what I want!!
Page Index Toggle Pages: 1