cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
555
Views
0
Helpful
4
Replies

ASP script help please

najib.khanafer
Level 1
Level 1

need an asp script that could send the sentence "lights ON" to an ip address x.x.x.x

4 Replies 4

chrhiggi
Level 3
Level 3

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

Hello Christopher,

Im just looking for an asp script in general

Regards,

Najib

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

Christopher,

These documents were very helpfull, thank you very much

Best Regards,

Najib

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: