Help: (Win32, build 306), connect won't work with dial up (unknown error 0x00002751) 
Author Message
 Help: (Win32, build 306), connect won't work with dial up (unknown error 0x00002751)



Quote:
> Connect gives: unknown error 0x00002751 if I use a dial up
> connection.

Aaaaaaaaargh, stupid me!!! My IP uses a proxy server!!

So that's causing the problem. (Connecting to the proxy works, i.e. I
get the same response
in both my browser and my perl script).

Quote:
> The error logged is:

> [05/Jun/1997 17:24] connect error (Unknown Error: 0x00002751)
> URL: http://www.*-*-*.com/

> Wat does the error code mean?

Well, something like "your forgot to use the proxy!", but the real
question remains,
where can I find a list which explains the error codes?

John

--
----------------------------------------------------------------------

Need a {*filter*} Software Developer (MSc)? (CGI, Perl, Java, C, C++)

http://www.*-*-*.com/ ~jbokma [Java demo's, Curriculum Vitae and
more...]




Mon, 22 Nov 1999 03:00:00 GMT  
 Help: (Win32, build 306), connect won't work with dial up (unknown error 0x00002751)

Connect gives: unknown error 0x00002751 if I use a dial up
connection.
On my local network (TCP/IP), no problems.

I am using build 306 (ActiveWare), on a Windows95 machine.

Snippet of my code: ($remote = "www.perl.com")

        $port = 80;
        $iaddr = inet_aton($remote);

        $paddr = sockaddr_in($port, $iaddr);
        $proto = getprotobyname('tcp');

        unless (socket(SOCK, PF_INET, SOCK_STREAM, $proto))
        {
                log_error("socket error ($!) URL:$url\n");
                return 0;
        }

        unless (connect(SOCK, $paddr))
        {
                log_error("connect error ($!) URL:$url\n");
                return 0;
        }

The error logged is:

[05/Jun/1997 17:24] connect error (Unknown Error: 0x00002751)
URL: http://www.*-*-*.com/

Wat does the error code mean?

I already know that 0x00002741 means that the name is invalid (i.e.
can't find the IP address)

Thanks in advance,

John

--
----------------------------------------------------------------------

Need a {*filter*} Software Developer (MSc)? (CGI, Perl, Java, C, C++)

http://www.*-*-*.com/ ~jbokma [Java demo's, Curriculum Vitae and
more...]




Mon, 22 Nov 1999 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. IP to hostname doesn't work after Dial up update (Win95, Perl 5.003 build 306)

2. Missing \lib\i386-lib on ActiveWare build 306 of Perl for Win32

3. pl2bat, batwrap for perl-win32 build 306

4. WinNT Build 306: %var = {}; fails

5. DBI/DBD/Oracle connect won't work (ORA-12154)

6. connect UnKnown Error

7. Perl build won't start on Win32 (dmake/gcc)

8. ActiveWare Perl for WIn32 build 306 & Win32::ODBC

9. OPEN WON'T WORK IN PERL-WIN32?

10. help? my cgi script won't work

11. HELP!...geo::ip module for awstats won't work

12. opendir() won't work, help!

 

 
Powered by phpBB® Forum Software