HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- setsockopt()
Operating System - HP-UX
1826332
Members
3470
Online
109692
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2007 05:09 PM
11-15-2007 05:09 PM
setsockopt()
Hi,
On the manual page for setsockopt, there is the following information: If both l_onoff and l_linger are non-zero, close() does not return until the system has tried to transmit all unsent data and release the connection gracefully. In that case, close() can return an error, and errno may be set to ETIMEDOUT, if the system is unable to transmit the data after a protocol-defined time limit. What's this time Limit? Can it be changed? On the same page it talks about SO_KEEPALIVE and the 2 time limit if SO_KEEPALIVE is enabled. Is there a way to change the 2 hour limit?
Thanks in advance,
Senthil.
On the manual page for setsockopt, there is the following information: If both l_onoff and l_linger are non-zero, close() does not return until the system has tried to transmit all unsent data and release the connection gracefully. In that case, close() can return an error, and errno may be set to ETIMEDOUT, if the system is unable to transmit the data after a protocol-defined time limit. What's this time Limit? Can it be changed? On the same page it talks about SO_KEEPALIVE and the 2 time limit if SO_KEEPALIVE is enabled. Is there a way to change the 2 hour limit?
Thanks in advance,
Senthil.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2007 10:28 PM
11-15-2007 10:28 PM
Re: setsockopt()
you have the following ndd tcp layer parameters:
tcp_ip_abort_interval which must not be set to a too low value ( 60000 1min) is a gof value.
It is the max time we try to send the FIN before reseting
tcp_keepalive_interval which specfy the keepalive timer. You can set it to low value like 1min or 2 if you don't use charged specialised line which connect on demand
the linger time can be specified if you use xopen sockets.
tcp_ip_abort_interval which must not be set to a too low value ( 60000 1min) is a gof value.
It is the max time we try to send the FIN before reseting
tcp_keepalive_interval which specfy the keepalive timer. You can set it to low value like 1min or 2 if you don't use charged specialised line which connect on demand
the linger time can be specified if you use xopen sockets.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP