Zend Framework

Zend_TimeSync_Sntp use tcp instead of documented udp protocol

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.5.3
  • Fix Version/s: 1.6.1
  • Component/s: Zend_TimeSync
  • Labels:
    None

Description

zend manuel:
SNTP uses UDP port 37 as it's transport layer.

but Zend_TimeSync_Sntp:

public function __construct($timeserver, $port)
    {
        $this->_timeserver = 'tcp://' . $timeserver;
        if (is_null($port) === false) {
            $this->_port = $port;
        }
    }

Activity

Hide
Thomas Weidner added a comment -

Fixed with r10835

Show
Thomas Weidner added a comment - Fixed with r10835

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: