Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Socket modue for ASP

Status
Not open for further replies.

rac2

Programmer
Apr 26, 2001
1,871
US
I would like to use functions like gethostbyaddr() and inet_aton() in ASP. These functions are availble in the Socket module in Perl. I need to write an ASP version of a Perl script which uses these functions. How can I get the results these Perl functions provide?
 
can you give a bit more info on the functions functionality and their purpose. _______________________________________________
{ str = "sleep is good for you. sleep gives you the energy you need to function";
ptr = /sleep/gi;Nstr = str.replace(ptr,"coffee");alert(Nstr); }

_______________________________________________
for the best results to your questions: FAQ333-2924
has you're questio
 
Your going to need to write (or buy or download or steal..I mean write ;)) a dll with those functions, register it on the server, and then user Server.CreateObject to instantiate a copy of the object in orde to reference the methods. The reason Perl has them built in is because it is a catch-all scripting language rather than just a web-scripting language.
From what I remember of my last search (I was in the process of integrating my firewall logs with my webserver) there are several objects out there that provide dns, reverse dns, etc functionality that you can use from ASP scripts. A google search on the subject should net you at least a few hits.

-Tarwn ________________________________________________________________________________
Want to get great answers to your Tek-Tips questions? Have a look at faq333-2924
 
Thanks for the info. I was hoping there was a free and obvious answer. I did find various things for sale. Seems like a shame when WinSock is right there with these same methods and no way to get to it from an ASP script.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top