Home > Perl Send > Perl Send Cannot Determine Peer Address

Perl Send Cannot Determine Peer Address

But this is not TCP, this is UDP. Nodes You Wrote Super Search List Nodes By Users Newest Nodes Recently Active Threads Selected Best Nodes Best Nodes Worst Nodes Saints in our Book Leftovers? Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=openbsd, osvers=4.0, archname=i386-openbsd uname='openbsd' config_args='-dsE -Dopenbsd_distribution=defined' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef Re: Socket error: Cannot determine peer address ($in) by tye (Sage) on Dec 31, 2013 at 23:31UTC The server processes one command per connection (after which $in gets destroyed).

What crime would be illegal to uncover in medieval Europe? What now? The following patch to Socket.pm version 1.30 fixes the problem. - todd --- perl/ext/IO/lib/IO/Socket.pm Tue Jun 13 15:29:07 2006 +++ perl/ext/IO/lib/IO/Socket.pm Fri Feb 16 13:59:58 2007 @@ -250,7 +218,7 @@ my What about the optional IO::Socket::INET6 dependency?

I'd also like to add that your mask, is quite legitimate (valid). and Net::NTP 1.4. As a monk, can I use Deflect Missiles to protect my ally? Graph with a separation vertex edge Zener diodes in glass axial package - not inherently shielded from photoelectric effect?

Start a coup online without the government intervening C# TBB updating metadata value Build me a brick wall! PerlMonks graciously bestowed by Tim Vroom. So the client can't send a second command w/o reconnecting (which is done in ->new() when you specify a PeerAddr). - tye [reply] Re: Socket error: Cannot For example: timestamps are in epoch, so one could use the localtime function to produce an even more "human" representation of the timestamp. =head2 EXPORT get_ntp_response(, ); This module exports a

more hot questions question feed lang-perl about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation I changed one method signature and now have over 25,000 errors. via Acme::Override::INET). http://stackoverflow.com/questions/5627017/perl-iosocket-cannot-determine-peer-address Why do languages require parenthesis around expressions when used with "if" and "while"?

It fails in 2 cases: with error send: Cannot determine peer address at ./tcp-new.pl line 52 with no output or anything, it just fails to deliver what it got to connected How would you model 'a sphere with a shell' like object? But On Strawberry > Perl, if I uninstall theses modules, I don't have the error message > but the programe doesn't give result : > Trying time server pool.ntp.org > Trying Trying time server pool.ntp.org Time server pool.ntp.org did not work send: Cannot determine peer address at C:/Strawberry/perl/site/lib/Net/NTP.pm line 163.

Or > > > > versions > > > > differ? > > > > > > Dear, > > > > > > On the machine with ActivePerl, I have The St. asked 5 years ago viewed 1415 times active 5 years ago Upcoming Events 2016 Community Moderator Election ends Nov 22 Related 2Perl Client to Java Server4How can I diagnose “Cannot determine That said, I'm trying to figure out how to reproduce the "Cannot determine peer address" error but to no avail....

The response from the server is "humanized" to a point that further processing of th information recieved from the server can be manipulated. If I create a new socket everytime, that is, if I do my $remote = IO::Socket::INET->new() inside the loop in the client code, the code works just fine but I dont Run strace on your script, and you can see the signal clearly enough. Beautiful Sunny Winfield, Illinois Wed, 18 Jun 1902 08:00:00 GMT Chris Fed#2 / 2 IO::Socket send exits on failure Quote: > I'm using an IO::Socket::INET socket to connect to

How can I take a powerful plot item away from players without frustrating them? Most likely the recv fails with ECONNREFUSED. Join them; it only takes a minute: Sign up Perl IO::Socket - Cannot determine peer address up vote 0 down vote favorite I am having an issue stemming from IO/Socket.pm on Or versions > > differ? > > Dear, > > On the machine with ActivePerl, I have installed IO::Socket::INET6 and > Socket6 and now, I have the same error message.

Browse other questions tagged perl or ask your own question. I found a a stackoverflow post which suggests that something could be wrong with the args used (in that case, the problem was an illegal value,, as peer address). How to delete the lines from a file that do not contain dot?

The second time, the client shows an empty message and the third time it fails with "cannot determine peer address".

Maybe it has also something to do with IO::Socket::IP vs. In this case, IO::Socket::INET treat as a domain name. As a monk, can I use Deflect Missiles to intentionally catch a projectile? The server operates fine for hours, handling many messages and doing lots of sends, but at some point, it gets this error and exits.

Browse other questions tagged perl sockets or ask your own question. Trying time server 1.north-america.pool.ntp.org Time server 1.north-america.pool.ntp.org did not work send: Cannot determine peer address at E:/Strawberry/perl/site/lib/Net/NTP.pm line 163. Trying time server 3.north-america.pool.ntp.org Time server 3.north-america.pool.ntp.org did not work send: Cannot determine peer address at E:/Strawberry/perl/site/lib/Net/NTP.pm line 163. sub handle_connection { my $x = shift; my $sz = <$x>; print $x "Testing\n"; } [download] Insted do as follows sub handle_connection { my $x = shift; while ( <$x> )

Sometimes this problem is followed by problem mentioned in point 1. Is there a known workaround for this problem? One thing that might be nice is if I could just get it to not exit my server. For some reason after 10-20 seconds this error gets thrown.

sending a form to a server with IO:Socket 8. Trying time server 0.north-america.pool.ntp.org Time server 0.north-america.pool.ntp.org did not work send: Cannot determine peer address at E:/Strawberry/perl/site/lib/Net/NTP.pm line 163.