0.7 release

This commit is contained in:
John Long
2013-06-14 07:43:45 -05:00
parent 753bff38ec
commit 83d9baa9f6
33 changed files with 7 additions and 480 deletions
+2
View File
@@ -98,6 +98,8 @@ class ModbusMaster {
$this->status .= "Bound\n";
}
}
// Socket settings
socket_set_option($this->sock, SOL_SOCKET, SO_SNDTIMEO, array('sec' => 1, 'usec' => 0));
// Connect the socket
$result = @socket_connect($this->sock, $this->host, $this->port);
if ($result === false) {