1. error resolving getaddrinfo()

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

new topic     » topic index » view message » categorize

2. Re: error resolving getaddrinfo()

You'll notice that most of the code in dns.e is commented out, so there is no getaddrinfo.

new topic     » goto parent     » topic index » view message » categorize

3. Re: error resolving getaddrinfo()

mic_ said...

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

new topic     » goto parent     » topic index » view message » categorize

4. Re: error resolving getaddrinfo()

From: http://openeuphoria.org/docs/

Invalid module/action pair 'docs/index'

new topic     » goto parent     » topic index » view message » categorize

5. Re: error resolving getaddrinfo()

useless said...

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.

new topic     » goto parent     » topic index » view message » categorize

6. Re: error resolving getaddrinfo()

mic_ said...
useless said...

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

new topic     » goto parent     » topic index » view message » categorize

7. Re: error resolving getaddrinfo()

useless said...
mic_ said...

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

new topic     » goto parent     » topic index » view message » categorize

8. Re: error resolving getaddrinfo()

jeremy said...

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

new topic     » goto parent     » topic index » view message » categorize

9. Re: error resolving getaddrinfo()

jeremy said...
jeremy said...

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

new topic     » goto parent     » topic index » view message » categorize

10. Re: error resolving getaddrinfo()

useless said...

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

new topic     » goto parent     » topic index » view message » categorize

11. Re: error resolving getaddrinfo()

jeremy said...
useless said...

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

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu