1. error resolving getaddrinfo()
- Posted by useless Aug 20, 2009
- 944 views
I did this:
include dns.e as dns sequence host, addrinfo --code-- addrinfo = dns:getaddrinfo(host,"http",0) --code--
and got this:
<0074>:: Errors resolving the following references:
blahblahblah.ex (116): getaddrinfo
addrinfo = getaddrinfo(host,"http",0)
^
While i also had included http.e, didn't "include dns.e as dns" specify the namespace i wished to use? and even if i didn't "include dns.e as dns", or "include dns.e", shouldn't it have used whatever was in http.e?
In other words, i don't see why i have an error here, so i cannot fix it.
useless
2. Re: error resolving getaddrinfo()
- Posted by mic_ Aug 20, 2009
- 882 views
You'll notice that most of the code in dns.e is commented out, so there is no getaddrinfo.
3. Re: error resolving getaddrinfo()
- Posted by useless Aug 20, 2009
- 921 views
You'll notice that most of the code in dns.e is commented out, so there is no getaddrinfo.
I will? When will this occur?
useless
4. Re: error resolving getaddrinfo()
- Posted by useless Aug 20, 2009
- 922 views
From: http://openeuphoria.org/docs/
Invalid module/action pair 'docs/index'
5. Re: error resolving getaddrinfo()
- Posted by mic_ Aug 20, 2009
- 972 views
When will this occur?
useless
I've no idea.. But my best estimate is sometime between now and when you stop wasting time on making replies like those and just look at the code to confirm what I had told you in an effort to help.
6. Re: error resolving getaddrinfo()
- Posted by useless Aug 20, 2009
- 959 views
When will this occur?
useless
I've no idea.. But my best estimate is sometime between now and when you stop wasting time on making replies like those and just look at the code to confirm what I had told you in an effort to help.
I thought i was at least as useful as commenting out most of dns.e or breaking the /docs/ or the search function. I am glad i saved eunet.e.
useless
7. Re: error resolving getaddrinfo()
- Posted by jeremy (admin) Aug 20, 2009
- 918 views
You'll notice that most of the code in dns.e is commented out, so there is no getaddrinfo.
I will? When will this occur?
Yes, the DNS Stuff has not been ported yet.
Jeremy
8. Re: error resolving getaddrinfo()
- Posted by jeremy (admin) Aug 20, 2009
- 867 views
Yes, the DNS Stuff has not been ported yet.
Well, the more advanced functions have not. host_by_name and host_by_addr exists.
Jeremy
9. Re: error resolving getaddrinfo()
- Posted by useless Aug 20, 2009
- 828 views
Yes, the DNS Stuff has not been ported yet.
Well, the more advanced functions have not. host_by_name and host_by_addr exists.
Jeremy
Ah, well, umm, <cough> i plugged in eunet.e instead and got a working localhost http proxy. I hope to make it better than Proxomitron, tho i fear i won't be able to beat it's multitasking.
useless
10. Re: error resolving getaddrinfo()
- Posted by jeremy (admin) Aug 20, 2009
- 942 views
Ah, well, umm, <cough> i plugged in eunet.e instead and got a working localhost http proxy. I hope to make it better than Proxomitron, tho i fear i won't be able to beat it's multitasking.
I'm not really sure on the internals of a proxy, but you should be able to use non-blocking TCP/IP methods to provide much better support than, say, threading.
Jeremy
11. Re: error resolving getaddrinfo()
- Posted by useless Aug 20, 2009
- 876 views
Ah, well, umm, <cough> i plugged in eunet.e instead and got a working localhost http proxy. I hope to make it better than Proxomitron, tho i fear i won't be able to beat it's multitasking.
I'm not really sure on the internals of a proxy, but you should be able to use non-blocking TCP/IP methods to provide much better support than, say, threading.
Jeremy
It's not just the socks that need threading. The filters should also be separate, so filtering a megabyte of some page won't stop filtering small files from another sites. I found this easy to do in mirc years ago, but i still can't get my head around it in Eu.
In case you're wondering, mirc's variables are smaller than most interesting webpages, whereas nearly any webpage will fit into an Eu variable. Spanning a filter's scope across a page spread across several mirc variables gets iffy.
useless