10-28-2002
Changing TCP/IP Options in SunOS
Due to some project requirement I am writing an application which uses Transport Layer Interface (TLI's) in Sun OS Release 5.8.
The problem is in setting the tcp's TCP_KEEPIDLE or TCP_KEEPINTVL or TCP_NKEEP parameters by t_optmgmt ( ) function.I understand that in Sun OS these are referenced by some other constant or methodology.
Can anyone help me out ? Thanks in advance.
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
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
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
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
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
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
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
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
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
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
LEARN ABOUT ULTRIX
tcp-env
tcp-env(1) General Commands Manual tcp-env(1)
NAME
tcp-env - set up TCP-related environment variables
SYNOPSIS
tcp-env [ -rR ] [ -ttimeout ] program [ arg ... ]
DESCRIPTION
The input for tcp-env must be a TCP connection. tcp-env finds out information about that connection, puts the information into several
environment variables as described in tcp-environ(5), and runs program with the given arguments.
Usually tcp-env is run from inetd. It might instead be run from another server that already sets up the right environment variables; if
PROTO is set to TCP when tcp-env is invoked, tcp-env assumes that all the other variables are set up properly, and it does not check
whether the input is a TCP connection.
OPTIONS
-r (Default.) Attempt to obtain TCPREMOTEINFO from the remote host.
-R Do not attempt to obtain TCPREMOTEINFO from the remote host.
-ttimeout
Give up on the TCPREMOTEINFO connection attempt after timeout seconds. Default: 30.
SEE ALSO
tcp-environ(5), inetd(8)
tcp-env(1)