Sponsored Content
Top Forums Programming Changing TCP/IP Options in SunOS Post 31847 by S.P.Prasad on Wednesday 13th of November 2002 11:45:55 PM
Old 11-14-2002
The TCP/IP parameter TCPTV_KEEP_IDLE specifies how long the operating system waits before checking a connection. While TCPTV_KEEPINTVL defines the time interval between two successive KEEPALIVE packets and TCPTV_KEEPCNT specifies the number of KEEPALIVE packets sent before the operating system concludes that the client program is not responding. The timeout period after a client fails to respond is determined by multiplying TCPTV_KEEPINTVL by TCPTV_KEEPCNT.One PR_SLOWHZ time unit is approximately one second. These can be manipulated at individual program levels.

TCPTV_KEEP_IDLE (2*60*PR_SLOWHZ)
TCPTV_KEEPINTVL (60*PR_SLOWHZ)
TCPTV_KEEPCNT 1
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

changing Hash printing options for FTP

Hi!!, I usually have to ftp massive files ~200MB. The default hash printing option marks a hash for every 1024 bytes. Any ideas how to change this setting to some other value?? I know no one like to see logfiles of size ~2mb just filled with hashes.. :D (1 Reply)
Discussion started by: jyotipg
1 Replies

2. UNIX for Dummies Questions & Answers

changing root menu options on Redaht

Hello all, I would like to change the options on the root menu when I use the middle button on a three mouse buttom setting. I can append to the menu but, I seem to be unable to find the lisp code for pop-root-menu. Does anyone know how to change this? THANKS ALL (3 Replies)
Discussion started by: larry
3 Replies

3. UNIX for Advanced & Expert Users

Migration of binary file from Sunos 5.8 to Sunos 5.9

I have compiled binary file using "cc" on SunOS 5.8 and the same binary file i have copied to SunOS 5.9 and it is giving me core dump error.I want to know whether migration of compiled code from lower version to higer version created this problem. how can i solve this problem.I am pasting the core... (1 Reply)
Discussion started by: Arvind Maurya
1 Replies

4. UNIX for Dummies Questions & Answers

Changing TCP parameters in solaris10

Hi I have to change some TCP settings in Solaris10 machine running on AMD. Is there any tool or GUI to do this. I want to see if there is any easy way to put them in the startup scripts. Thanks (1 Reply)
Discussion started by: sssow
1 Replies

5. Solaris

changing nfs options on Solaris 10

hi I changed nfs options in "/etc/auto_master": /net -hosts rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,ve rs=3,timeo=600,actimeo=0 then I did automount -v svcadm restart svc:/system/filesystem/autofs svcadm restart svc:/network/nfs/server:default When doing... (2 Replies)
Discussion started by: melanie_pfefer
2 Replies

6. Programming

Help with TCP Options in C

Hello everybody, It's me again, i need your help! I was almost finishing a program when it crashed, because of TCP segments with the TCP Options enabled. I am able to control every field of every packet i receive, except of those using TCP Options. Is there a way to determine if a packet is... (0 Replies)
Discussion started by: Zykl0n-B
0 Replies

7. Programming

Changing source port number of a TCP client packet

Hi all, I need to change the source port number of an outgoing TCP packet. First I have to bind the socket to a particular port(suppose 9001) but when I send the TCP packet I want to change the source port number lets say to 9002 still letting the socket to be bound to the same old port (9001).... (0 Replies)
Discussion started by: anuragrai134
0 Replies

8. IP Networking

Doubt regarding TCP Options negotiation

Hi, I am aware that duirng the intial SYN, SYN-ACK, ACK (connection establishment) phase, both TCP ends advertize TCP options (or extended features) each would like to use for the connection. Ultimately both ends end up using TCP options commonly supported and advertized by both. My doubt... (2 Replies)
Discussion started by: jake24
2 Replies

9. Solaris

Too much TCP retransmitted and TCP duplicate on server Oracle Solaris 10

I have problem with oracle solaris 10 running on oracle sparc T4-2 server. Os information: 5.10 Generic_150400-03 sun4v sparc sun4v Output from tcpstat.d script TCP bytes: out outRetrans in inDup inUnorder 6833763 7300 98884 0... (2 Replies)
Discussion started by: insatiable1610
2 Replies
tcp.h(3HEAD)							      Headers							      tcp.h(3HEAD)

NAME
tcp.h, tcp - definitions for the Internet Transmission Control Protocol (TCP) SYNOPSIS
#include <netinet/tcp.h> DESCRIPTION
The <netinet/tcp.h> header defines the following macro for use as a socket option at the IPPROTO_TCP level: TCP_NODELAY Avoid coalescing of small segments. The macro is defined in the header. The implementation need not allow the value of the option to be set with setsockopt() or retrieved with getsockopt(). ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ SEE ALSO
getsockopt(3XNET), socket.h(3HEAD), attributes(5), standards(5) SunOS 5.11 10 Sep 2004 tcp.h(3HEAD)
All times are GMT -4. The time now is 12:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy