04-25-2001
TCP/IP connections use keep-alive signals to keep the connection open. Some client implementations of TCP/IP do not generate these signals properly and the connection die. There are other reasons that connections die too. Anytime the keep-alive signals are not (1) generated or (2) received, idle connection will time-out.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi all,
When I telnet my W2k machine to my Solaris8 machine, after typing my login name and password prompt, I get the following msg immediately.
====
Not on System Console.
Connection to host lost.
====
The 2 machines are connected on the same kingston workgroup hub. Can someone pls help? (3 Replies)
Discussion started by: andrec
3 Replies
2. UNIX for Dummies Questions & Answers
This morning I was working by Xwindow to my unix server (hp-ux, 11 version), without any problem but this afteernoon, the connections was refused, and triying to connect using telnet, sometimes I can establish the connection and refuses me in a minute, the error message that appears is "your... (1 Reply)
Discussion started by: fvicente
1 Replies
3. UNIX for Dummies Questions & Answers
I keep receiving this message when trying to connect using telnet to SunOS 5.8 running Solaris 8 from W2k.
I checked system and inetd.conf and they seem to be ok.
I can ping the host ok.
ftp also works fine.
Any suggestion would be greatly appreciated. (2 Replies)
Discussion started by: goose
2 Replies
4. Debian
Hi All
Is there a command (or set of commands) that can be used to kill a connection listed in the netstat table? Say there is a host connected to a certain port on your machine, and it is listed via a 'netstat -an', is there a way to issue some commands to 'disconnect' or kill that connection?
... (5 Replies)
Discussion started by: saabir
5 Replies
5. IP Networking
Hi,
I am having a problem with our AIX 4.3.3 Server accessing FTP. The error is " Connection Closed By Remote Host".
Scenario:
Since i put a default gateway on the server FTP connection is having a problem but when i remove the default gateway it will works fine..
Is there any way not... (1 Reply)
Discussion started by: mouglybean
1 Replies
6. HP-UX
Hello,
We try to do an SCP of a Sybase dump file of 4Go between two production HP-UX servers.
Each time the transfer stopn at 299Mo and we have the message "connection lost".
The destination FS has largefiles option activated.
Could you help ? (7 Replies)
Discussion started by: ohemeg
7 Replies
7. UNIX for Dummies Questions & Answers
Hi Everyone,
Good day.
Scenario:
2 unix servers -- A (SunOS) and B (AIX)
I have an ftp script to sftp 30 files from A to B which happen almost instantaneously i.e 30 sftp's happen at the same time.
Some of these sftp's fail with the following error:
ssh_exchange_identification: Connection... (1 Reply)
Discussion started by: jeevan_fimare
1 Replies
8. Solaris
Hello,
In my server Sun Enterprise T5140 I have unusual problem with ILOM.
After several, several days, I can not connect to the ILOM.
For connection to the ILOM I turn off the server power and then turn it on.
Where is the problem?
Regards (10 Replies)
Discussion started by: bieszczaders
10 Replies
9. HP-UX
I am trying to connect to my HP server from remote machine.
It gets connected but once credential are provided the connection is closed.
adroit:/home/seo/hitendra 32 ] telnet myserv1
Trying...
Connected to myserv1.
Escape character is '^]'.
Local flow control on
Telnet TERMINAL-SPEED... (4 Replies)
Discussion started by: hiten.r.chauhan
4 Replies
10. Ubuntu
I'm on Ubuntu – but it's the same on Debian.
I'm using tcpdump in order to track the connection of computers on my private network. At some point, the internet connection of the computers launching the script is lost as well as the targeted computers.
Here's the command line:
tcpdump -i wlan0... (0 Replies)
Discussion started by: Skirmjan
0 Replies
LEARN ABOUT MOJAVE
curlopt_tcp_keepintvl
CURLOPT_TCP_KEEPINTVL(3) curl_easy_setopt options CURLOPT_TCP_KEEPINTVL(3)
NAME
CURLOPT_TCP_KEEPINTVL - set TCP keep-alive interval
SYNOPSIS
#include <curl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_TCP_KEEPINTVL, long interval);
DESCRIPTION
Pass a long. Sets the interval, in seconds, that the operating system will wait between sending keepalive probes. Not all operating systems
support this option. (Added in 7.25.0)
DEFAULT
60
PROTOCOLS
All
EXAMPLE
CURL *curl = curl_easy_init();
if(curl) {
curl_easy_setopt(curl, CURLOPT_URL, "http://example.com");
/* enable TCP keep-alive for this transfer */
curl_easy_setopt(curl, CURLOPT_TCP_KEEPALIVE, 1L);
/* set keep-alive idle time to 120 seconds */
curl_easy_setopt(curl, CURLOPT_TCP_KEEPIDLE, 120L);
/* interval time between keep-alive probes: 60 seconds */
curl_easy_setopt(curl, CURLOPT_TCP_KEEPINTVL, 60L);
curl_easy_perform(curl);
}
AVAILABILITY
Always
RETURN VALUE
Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
SEE ALSO
CURLOPT_TCP_KEEPALIVE(3), CURLOPT_TCP_KEEPIDLE(3),
libcurl 7.54.0 January 02, 2017 CURLOPT_TCP_KEEPINTVL(3)