|
@@ -96,7 +96,7 @@ |
|
|
block discarded – undo |
|
96
|
96
|
{ |
|
97
|
97
|
if (false === ($this->socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP))) |
|
98
|
98
|
{ |
|
99
|
|
- throw new BinLogException(BinLogException::UNABLE_TO_CREATE_SOCKET. socket_strerror(socket_last_error()), socket_last_error()); |
|
|
99
|
+ throw new BinLogException(BinLogException::UNABLE_TO_CREATE_SOCKET . socket_strerror(socket_last_error()), socket_last_error()); |
|
100
|
100
|
} |
|
101
|
101
|
socket_set_block($this->socket); |
|
102
|
102
|
socket_set_option($this->socket, SOL_SOCKET, SO_KEEPALIVE, 1); |
Please login to merge, or discard this patch.