Just another Perl shrine | |
PerlMonks |
Re^2: Paging in Perlby Anonymous Monk |
on Jun 28, 2007 at 17:34 UTC ( [id://623952]=note: print w/replies, xml ) | Need Help?? |
Hi all,
I'm trying to send a page using Perl via the WCTP protocol. For some reason, I cannot connect to the host "wctp.att.net/WCTP" (or any host for that matter) on port 80. I figure it must be some server configuration that I need to set. I don't think it's a port problem b/c I'm able to send a page via WCTP using the same port using a stand-alone app.
Anyhow, here's the code I'm using: sub send_wctp_old{ #my $url = "http://wctp.cingular.com:80/WCTP"; my $url = "http://wctp.att.net/WCTP"; print "TestEPaging::send_wctp_old()--Sending via WCTP to " . $url . " And here's the error output I'm seeing: TestEpaging::main()--to=4255333734 TestEpaging::main()--from=1111111111 TestEpaging::main()--message=Hello TestEpaging::main()--protocol=WCTP TestEPaging::send_wctp_old()--Sending via WCTP to http://wctp.att.net/WCTP TestEPaging::send_wctp_old()--Created new UserAgent TestEPaging::send_wctp_old()--Sent request TestEPaging::send_wctp_old()--Message failed - 500 Can't connect to wctp.att.net:80 (connect: Unknown error) Content-Type: text/plain Client-Date: Thu, 28 Jun 2007 16:35:30 GMT Client-Warning: Internal response 500 Can't connect to wctp.att.net:80 (connect: Unknown error) Any advice is much appreciated. Thanks! Karim Varela
In Section
Seekers of Perl Wisdom
|
|