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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: porton at narod dot ru
New email:
PHP Version: OS:

 

 [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: Wed Jun 03 20:01:26 2020 UTC