Sponsored Content
Operating Systems Linux Red Hat I want to know the disconnection time of my broadband tcp/ip connection. Post 302515341 by vectrum on Wednesday 20th of April 2011 12:50:37 AM
Old 04-20-2011
I want to know the disconnection time of my broadband tcp/ip connection.

Hello,

I want to know the disconnection time of my broadband tcp/ip connection as it got disconnected while downloading data.

I use Vuze bit torrent client and JDownloader .

I use broadband internet connection and my os is slack 11. The problem I have been facing for last 2/3 days that my internet connection disconnected at night. My provider uses "Idle time out" kind of disconnection when a connection remains idle ( sending a small dialog box, stating "Idle time out") but they don't seem to use it on my connection. I told them not to use it because I download data at night and my system remains unattended at that time but somehow I'm getting the disconnections. Is there any logging facility so I can log the tcp/ip connection and disconnection time?

Thank you.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

TCP/IP Connection getting slower...

Hi, We have developed a server program using TCP/IP Communication to communicate with another client program. After running for some days we find the TCP/IP connection from the server program is getting slower. What i mean to say is since the send() function in the server program (it is... (2 Replies)
Discussion started by: rajesh_puru
2 Replies

2. UNIX for Advanced & Expert Users

about TCP connection

Hi Experts, need help about release or refresh TCP Connection: i have the sample like below : application log connection: 0500 ( 192.168.0.1:36053) 00919 2007/05/10 23:30:25 112 13 2007/05/10 23:30:25 1969/12/31 17:00:00 0500 ( 192.168.0.1:36054) 00920 2007/05/10 23:30:26 000 00... (3 Replies)
Discussion started by: bucci
3 Replies

3. Shell Programming and Scripting

Create a TCP/IP Connection

Hello, I am trying to write a script in Perl which will send some data from a UNIX Box to a windows box. I am planning to create a TCP/IP communication port for the same. How do I go about this? Kindly help. Regards, Garric (50 Replies)
Discussion started by: garric
50 Replies

4. UNIX for Advanced & Expert Users

install broadband connection on red hat?

hi , i m new to linux , i have adsl modem , and i have two os on my machine windows and redhat . i install pppoe (broadband ) on windows , but i don't know how i install broadband on redhat . plz if u are confirm then tell me the solution because already i dump my one adsl modem , because... (0 Replies)
Discussion started by: alert_every1
0 Replies

5. Solaris

Broadband connection (BSNL& AIRTEL)

Dear Friends, Kindly help me to connect Broadband connection in my Solaris 10 OS. I have heard that i have to write a script. Waiting for solution......... Thanks (0 Replies)
Discussion started by: anuragpauldani
0 Replies

6. Red Hat

how tosetup broadband connection in red hatlinux

ami red hat linux 5.0 te broadband connection seup korte parteci na...plz help me immideatly (3 Replies)
Discussion started by: nhs_shobuz
3 Replies

7. IP Networking

false tcp connection

Why this happens? How to solve this? $netstat -na |grep 9325 tcp 0 0 127.0.0.1:9325 127.0.0.1:9325 ESTABLISHED When a client socket repeatedly tries to connect to an inactive(no server socket is listening on this port) local port,connect succeeds. ... (1 Reply)
Discussion started by: johnbach
1 Replies

8. Programming

TCP connection check

Hi. I am writing client - server application using TCP sockets. I need some very basic functionality, namely: how to check if another "participant" of the connection is still present? I want to handle situations, when client is gone, or server breaks down, etc. (25 Replies)
Discussion started by: Shang
25 Replies

9. Programming

[C++] [Unix] TCP non-blocking. Detect server disconnection procedure over, from client.

Hello! I searched forum for similar topic, with no luck, if you know one, delete this topic, and send me private message with link please. Little background: I have a lot of clients and one serwer. Client can make multiple connections on different ports and ips, but only one can be acctive... (2 Replies)
Discussion started by: ikeban
2 Replies

10. Solaris

How to find User disconnection root cause at particular time.?

Hi Guys, I need to find out User disconnection cause at particualr time 08:50:49 CET . from various site(Location) on one Server. My Server is :- Solaris 10 64BIt Sparc. below is only log I found at /var/adm/message I er started by mfg on batch. (4281) Dec 12 08:47:49 server68... (1 Reply)
Discussion started by: manalisharmabe
1 Replies
t_rcvdis(3NSL)					       Networking Services Library Functions					    t_rcvdis(3NSL)

NAME
t_rcvdis - retrieve information from disconnection SYNOPSIS
#include <xti.h> int t_rcvdis(int fd, struct t_discon *discon); DESCRIPTION
This routine is part of the XTI interfaces which evolved from the TLI interfaces. XTI represents the future evolution of these interfaces. However, TLI interfaces are supported for compatibility. When using a TLI routine that has the same name as an XTI routine, the tiuser.h header file must be used. Refer to the TLI COMPATIBILITY section for a description of differences between the two interfaces. This function is used to identify the cause of a disconnection and to retrieve any user data sent with the disconnection. The argument fd identifies the local transport endpoint where the connection existed, and discon points to a t_discon structure containing the following members: struct netbuf udata; int reason; int sequence; The field reason specifies the reason for the disconnection through a protocol-dependent reason code, udata identifies any user data that was sent with the disconnection, and sequence may identify an outstanding connection indication with which the disconnection is associated. The field sequence is only meaningful when t_rcvdis() is issued by a passive transport user who has executed one or more t_listen(3NSL) functions and is processing the resulting connection indications. If a disconnection indication occurs, sequence can be used to identify which of the outstanding connection indications is associated with the disconnection. The maxlen field of udata may be set to zero, if the user does not care about incoming data. If, in addition, the user does not need to know the value of reason or sequence, discon may be set to NULL and any user data associated with the disconnection indication shall be discarded. However, if a user has retrieved more than one outstanding connection indication by means of t_listen(3NSL), and discon is a null pointer, the user will be unable to identify with which connection indication the disconnection is associated. RETURN VALUES
Upon successful completion, a value of 0 is returned. Otherwise, a value of -1 is returned and t_errno is set to indicate an error. VALID STATES
T_DATAXFER, T_OUTCON, T_OUTREL, T_INREL, T_INCON(ocnt > 0). ERRORS
On failure, t_errno is set to one of the following: TBADF The specified file descriptor does not refer to a transport endpoint. TBUFOVFLW The number of bytes allocated for incoming data (maxlen) is greater than 0 but not sufficient to store the data. If fd is a passive endpoint with ocnt > 1, it remains in state T_INCON; otherwise, the endpoint state is set to T_IDLE. TNODIS No disconnection indication currently exists on the specified transport endpoint. TNOTSUPPORT This function is not supported by the underlying transport provider. TOUTSTATE The communications endpoint referenced by fd is not in one of the states in which a call to this function is valid. TPROTO This error indicates that a communication problem has been detected between XTI and the transport provider for which there is no other suitable XTI error (t_errno). TSYSERR A system error has occurred during execution of this function. TLI COMPATIBILITY
The XTI and TLI interface definitions have common names but use different header files. This, and other semantic differences between the two interfaces are described in the subsections below. Interface Header The XTI interfaces use the header file, xti.h. TLI interfaces should not use this header. They should use the header: #include <tiuser.h> Error Description Values The t_errno values TPROTO and TOUTSTATE can be set by the XTI interface but not by the TLI interface. A failure return, and a t_errno value that this routine can set under different circumstances than its XTI counterpart is TBUFOVFLW. It can be returned even when the maxlen field of the corresponding buffer has been set to zero. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |MT Level |Safe | +-----------------------------+-----------------------------+ SEE ALSO
t_alloc(3NSL), t_connect(3NSL), t_listen(3NSL), t_open(3NSL), t_snddis(3NSL), attributes(5) SunOS 5.10 7 May 1998 t_rcvdis(3NSL)
All times are GMT -4. The time now is 09:34 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy