php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #73469 TCP_KEEPIDLE is not defined
Submitted: 2016-11-06 19:55 UTC Modified: -
From: porton at narod dot ru Assigned:
Status: Open Package: Sockets related
PHP Version: 7.0.12 OS: Linux, FreeBSD
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
38 - 35 = ?
Subscribe to this entry?

 
 [2016-11-06 19:55 UTC] porton at narod dot ru
Description:
------------
---
From manual page: http://www.php.net/sockets.constants
---

Please add TCP_KEEPIDLE constant. It is 256 on FreeBSD and 4 on Linux.

Test script:
---------------
php7.0 -r 'echo TCP_KEEPIDLE;'


Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Thu Nov 26 13:01:23 2020 UTC