05-06-2011 02:22 AM
need an asp script that could send the sentence "lights ON" to an ip address x.x.x.x
05-23-2011 02:04 PM
Hello Najib-
Are you looking for a script to use on a Cisco Cache or Loadbalancer that would accomplish that, or just an ASP script in general?
Regards,
Chris
06-03-2011 12:39 AM
Hello Christopher,
Im just looking for an asp script in general
Regards,
Najib
06-03-2011 10:58 AM
Najib-
Cisco Support Forums are centered around assistance with the products and technologies that we support. We kindly request that the information within these threads are relevant to our products and services to keep the forums clean and easy to search.
That said -
There is quite a bit more to your question than you may realize. Scripting engines utilize different methods to communicate with external resources (i.e. PHP can make socket call vs. making ASP making full HTTP request) What you would use depends largely on how the recieving device needs to recieve information and what your scripting language can send. As far as I know, ASP is limited to HTTP requests.
I would go poking around on goole for socket open/close/sending or HTTP reqeust/response if your end device supports it. Don't forget with fsock to make sure your outbound data is correctly formatted for what the recieving device understands (use urlencode, etc so the character set is correct.)
HTTP example:
http://arstechnica.com/civis/viewtopic.php?f=20&t=884487
HTTP information:
http://msdn.microsoft.com/en-us/library/5t9y35bd(vs.71).aspx
Regards,
Chris
06-05-2011 11:24 PM
Christopher,
These documents were very helpfull, thank you very much
Best Regards,
Najib
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide