Sponsored Content
Full Discussion: Socket Keep-Alive
Top Forums Programming Socket Keep-Alive Post 302972251 by Corona688 on Tuesday 3rd of May 2016 11:08:13 AM
Old 05-03-2016
It's also possible they've decreased the timeouts to help deal with congestion, I seem to get the entire five.
 

9 More Discussions You Might Find Interesting

1. Programming

HTTP Keep-Alive socket problem

Hello everyone, I am a newbie in UNIX/Linux socket programming. This is a class project that I had trouble with. ================================================== I was trying to make “Keep-Alive” HTTP connections to the server in a tiny web crawler project. Here is the problem: when I tried... (0 Replies)
Discussion started by: imdupeng
0 Replies

2. UNIX for Dummies Questions & Answers

Socket still alive!!

Hi, I'm investigate about a problem regarding a connection between two server (S1 and S2). A client software on S1 made a pool of connections on S2; for some reason some connections end but sockets still alive on S2 and not on S1. I always knew about sockets as a pair of processes; is it... (1 Reply)
Discussion started by: grado
1 Replies

3. Shell Programming and Scripting

Can we keep our script alive while logging out.

Hi I want to keep my script running even when i am logged off from the box. can we run the script in background which can automatically run every hour? Please advise. Thank you (1 Reply)
Discussion started by: Prateek007
1 Replies

4. UNIX for Advanced & Expert Users

connect problem for sctp socket (ipv6 socket) - Runtime fail Invalid Arguments

Hi, I was porting ipv4 application to ipv6; i was done with TCP transports. Now i am facing problem with SCTp transport at runtime. To test SCTP transport I am using following server and client socket programs. Server program runs fine, but client program fails giving Invalid Arguments for... (0 Replies)
Discussion started by: chandrutiptur
0 Replies

5. Programming

which socket should socket option on be set

Hi all, On the server side, one socket is used for listening, the others are used for communicating with the client. My question is: if i want to set option for socket, which socket should be set on? If either can be set, what's the different? Again, what's the different if set option... (1 Reply)
Discussion started by: blademan100
1 Replies

6. Programming

socket function to read a webpage (socket.h)

Why does this socket function only read the first 1440 chars of the stream. Why not the whole stream ? I checked it with gdm and valgrind and everything seems correct... #include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> #include <string.h> #include... (3 Replies)
Discussion started by: cyler
3 Replies

7. Programming

Error with socket operation on non-socket

Dear Experts, i am compiling my code in suse 4.1 which is compiling fine, but at runtime it is showing me for socket programming error no 88 as i searched in errno.h it is telling me socket operation on non socket, what is the meaning of this , how to deal with this error , please... (1 Reply)
Discussion started by: vin_pll
1 Replies

8. IP Networking

Clarification - Setting socket options at the same time when socket is listening

I need clarification on whether it is okay to set socket options on a listening socket simultaneously when it is being used in an accept() call? Following is the scenario:- -- Task 1 - is executing in a loop - polling a listen socket, lets call it 'fd', (whose file descriptor is global)... (2 Replies)
Discussion started by: jake24
2 Replies

9. What is on Your Mind?

Is this forum alive?

Odd thing. I posted in the Solaris forum, new user, just asking for a bit of advice. Nothing too complicated. As of this post there have been 140 views and zero replies. So that got me thinking, is this normal? I had a look around, and I see the same thing on many other threads, and in other... (2 Replies)
Discussion started by: _JonB_
2 Replies
Devel::SimpleTrace(3pm) 				User Contributed Perl Documentation				   Devel::SimpleTrace(3pm)

NAME
Devel::SimpleTrace - See where you code warns and dies using stack traces VERSION
Version 0.08 SYNOPSIS
On the command-line: perl -wMDevel::SimpleTrace program_with_strange_errors.pl Inside a module: use Devel::SimpleTrace; DESCRIPTION
This module can be used to more easily spot the place where a program or a module generates errors. Its use is extremely simple, reduced to just "use"ing it. This is achieved by modifying the functions "warn()" and "die()" in order to replace the standard messages by complete stack traces that precisely indicates how and where the error or warning occurred. Other than this, their use should stay unchanged, even when using "die()" inside "eval()". OPTIONS
Options can be set at import time using: perl -wMDevel::SimpleTrace=option1,option2 or use Devel::SimpleTrace qw(option1 option2); Available options are: "showrefs" Using this option will tell "Devel::SimpleTrace" to stringify objects and references passed in argument to "die()". This option is disabled by default in order to leave objects and references untouched. EXAMPLE
For example, "HTTP::Proxy" 0.14 suffered from strange warnings, and its author Philippe Bruhat had a hard time trying to understand where they could come from. getsockname() on closed socket Symbol::GEN7 at /System/Library/Perl/darwin/IO/Socket.pm line 186. Use of uninitialized value in numeric ne (!=) at /Library/Perl/HTTP/Daemon.pm line 53. Hmm.. There's obviously something wrong here, but spotting the right line is not easy. Re-running the same script, unchanged, by just adding "-MDevel::SimpleTrace" to "perl" arguments produces the following output: getsockname() on closed socket Symbol::GEN7 at IO::Socket::sockname(/System/Library/Perl/darwin/IO/Socket.pm:186) at IO::Socket::INET::sockport(/System/Library/Perl/IO/Socket/INET.pm:231) at HTTP::Daemon::url(/Library/Perl/HTTP/Daemon.pm:52) at HTTP::Daemon::ClientConn::get_request(/Library/Perl/HTTP/Daemon.pm:139) at HTTP::Proxy::serve_connections(/Library/Perl/HTTP/Proxy.pm:500) at HTTP::Proxy::start(/Library/Perl/HTTP/Proxy.pm:392) at t::Utils::fork_proxy(t/Utils.pm:72) at main::(t/50standard.t:138) Use of uninitialized value in numeric ne (!=) at HTTP::Daemon::url(/Library/Perl/HTTP/Daemon.pm:53) at HTTP::Daemon::ClientConn::get_request(/Library/Perl/HTTP/Daemon.pm:139) at HTTP::Proxy::serve_connections(/Library/Perl/HTTP/Proxy.pm:500) at HTTP::Proxy::start(/Library/Perl/HTTP/Proxy.pm:392) at t::Utils::fork_proxy(t/Utils.pm:72) at main::(t/50standard.t:138) Aha! Much better. Finding the bug is now a trivial task ";-)" DIAGNOSTICS
Unknown option: %s (W) This warning occurs if you try to set an unknown option. CAVEATS
This module is currently not compatible with other modules that also work by overriding "die()" and "warn()", like "CGI::Carp". AUTHOR
Sebastien Aperghis-Tramoni <sebastien@aperghis.net> BUGS
Please report any bugs or feature requests to "bug-Devel-SimpleTrace@rt.cpan.org", or through the web interface at <https://rt.cpan.org/Public/Dist/Display.html?Name=Devel-SimpleTrace>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. COPYRIGHT &; LICENSE Devel::SimpleTrace is Copyright (C)2004-2011 Sebastien Aperghis-Tramoni. This program is free software. You can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.1 2011-03-02 Devel::SimpleTrace(3pm)
All times are GMT -4. The time now is 08:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy