Cannot Determine Peer Address
So I decided to m… MySQL Server How to Be a Better Programmer: Bits and Bytes Article by: gr8gonzo Does the idea of dealing with bits scare or confuse you? The St. Another debugging aid: use something like Module::PrintUsed to see what modules and versions are in use in the script run in ActivePerl and StrawberryPerl. # FriApr0304:54:392015 DJIBEL [...] cpan.org - Correspondence And if it is unsuccessful, I can't send anything from $serverSocket. weblink
Patches welcome. > > > > > > Dear, > > > > I have test the same program on another Windows machine with > > ActivePerl (5.20) and the program What happens if you do: my $mysql = Net::MySQL->new( hostname => '192.168.xx.xx', database => 'test_db', user => 'xxx', password => 'xxx' ) or die "$!"; 0 LVL 1 Any help or pointers to places where I might find help would be appreciated. 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.
Not the answer you're looking for? Collins (US) Radio 2.5, 5, 10, 15, 20 MHz', 'WWVB' => 'Boulder (US) Radio 60 kHz', 'WWVH' => 'Kaui Hawaii (US) Radio 2.5, 5, 10, 15 MHz', 'CHU' => 'Ottawa (Canada) Trying time server 0.pool.ntp.org Time server 0.pool.ntp.org did not work send: Cannot determine peer address at C:/Strawberry/perl/site/lib/Net/NTP.pm line 163.
It takes the server as the first argument (localhost is the default) and port to send/recieve the packets (ntp or 123 bu default). Seekers of Perl Wisdom Cool Uses for Perl Meditations PerlMonks Discussion Categorized Q&A Tutorials Obfuscated Code Perl Poetry Perl News about Information? Once it was possible to replace the old INET module > by the new IP module (e.g. I tried to google it and found that this situation can be if socket was closed by remote host.
croak 'send: Cannot determine peer address' unless($peer); Basically we are opening a connection up, and sending data to it. But the client opens a connection to the server. Then, I suspect a problem > > > with Strawberry Perl but I don't know why ! > > > > What about the optional IO::Socket::INET6 dependency? http://stackoverflow.com/questions/5627017/perl-iosocket-cannot-determine-peer-address The system is now running Perl 5.8.0.
Are we sure this is failing to connect? asked 5 years ago viewed 1412 times active 5 years ago Related 2Perl Client to Java Server4How can I diagnose “Cannot determine peer address” in my Perl TCP script?280How can I It takes the server as the first argument (localhost is the default) and port to send/recieve the packets (ntp or 123 bu default). Pls help!
Maybe they are aware of some incompatibilities? # MonMay1113:14:002015 MNOONING [...] cpan.org - Correspondence added RT-Send-CC: ABH [...] cpan.org Download (untitled) / with headers text/plain 384b I have a file that http://www.perlmonks.org/bare/?node_id=502632 perl sockets share|improve this question edited Jun 9 '14 at 11:38 asked Jun 7 '14 at 16:48 michaeluskov 1583932 The server processes one command per connection (after which $serverSocket Please read it again. –michaeluskov Jun 9 '14 at 11:38 @user23791, re: send with a destination, yes, but that won't matter if you don't have a peer to send We have IO::Socket (1.35), Socket (2.015) Best Regards, # FriApr0305:27:182015 SREZIC [...] cpan.org - Correspondence added Download (untitled) / with headers text/plain 8k On 2015-04-03 04:54:39, DJIBEL wrote: Show quoted text>
Why did the best potions master have greasy hair? have a peek at these guys Note: it's not problem when I disconnect and reconnect to it again within short amount of time (unless error nr 1 happens). MenuExperts Exchange Browse BackBrowse Topics Open Questions Open Projects Solutions Members Articles Videos Courses Contribute Products BackProducts Gigs Live Courses Vendor Services Groups Careers Store Headlines Website Testing Ask a Question Trying time server www.pool.ntp.org Time server www.pool.ntp.org did not work send: Cannot determine peer address at E:/Strawberry/perl/site/lib/Net/NTP.pm line 163.
also there are some mistakes in client and Server for example in server side you are getting the port number as a command line arguement where as in client side the Trying time server time.nist.gov Time server time.nist.gov did not work send: Cannot determine peer address at E:/Strawberry/perl/site/lib/Net/NTP.pm line 163. Do students wear muggle clothing while not in classes at Hogwarts (like they do in the films)? http://inviewsoftware.com/cannot-determine/cannot-determine-peer-address-at-net-mysql-pm.html So can anyone help me make this code be a bit more stable so I don't have to restart it every day? #!/usr/bin/perl use strict; use warnings; use IO::Socket; use IO::Select;
But when I run a simple test script, it always fails with the same error: send: Cannot determine peer address at /usr/local/lib/perl5/site_perl/5.8.8/Net/MySQL.pm line 100 This is line 100 ($mysql->send($quit_message, 0);): sub Others about the Monastery: (3)LanX atcroft jmlynesjr As of 2016-11-06 19:59 GMT Sections? Browse other questions tagged perl or ask your own question.
Please report any issues with rt.cpan.org to [email protected]
- It "normalizes" or "humanizes" various parts of the packet.
- Comments to Ask Bjørn Hansen at [email protected] | Group listing | About Front page | perl.beginners | Postings from March 2007 Re: cannot determine peer address with Unix domain sockets Thread
- Join our community for more solutions or to ask questions.
- Once you get a single line from client you are closing the Client Side Socket Filehandle.
- I presume in other cases(such as plain write) we may receive SIGPIPE.[reply] In Section Seekers of Perl Wisdom Front page | perl.perl5.porters | Postings from July 2003 IO::Socket -- send: Cannot
Get 1:1 Help Now Advertise Here Enjoyed your answer? Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T… PHP Perl Regular Expressions Web Languages/Standards-Other Web Development PRTG Quick Overview (07:27) Video by: Kimberley Get CONTINUE READING Join & Write a Comment Already a member? Krahn Re: cannot determine peer address with Unix domain sockets by Andy Greenwood nntp.perl.org: Perl Programming lists via nntp and http.
Does The Amazing Lightspeed Horse work, RAW? That's why you got error after 10~20 seconds. Browse other questions tagged perl tcp udp or ask your own question. this content Here is the final, working code.
PHP sends the command just fine, but perl dies as soon > > as it reads from the socket. > > Are you using PHP, or Perl? Maybe it has also something to do with IO::Socket::IP vs. My thanks to whoever gave me the fix. Or versions > differ?
Does it seem like a waste of time in an age where we all have terabytes of storage? Willmore, E