0.5.0_beta

git-svn-id: svn://db.shs.com.ru/pip@42 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
2015-03-26 06:27:42 +00:00
parent 4d2b3370b1
commit d789623b9f
9 changed files with 19 additions and 7 deletions

View File

@@ -26,5 +26,6 @@
#include "pistatemachine.h"
#include "pitime.h"
#include "pivariant.h"
#include "picli.h"
#endif // PICOREMODULE_H

View File

@@ -161,6 +161,7 @@ bool PIEthernet::init() {
}
if (params[PIEthernet::ReuseAddress]) ethSetsockoptBool(sock, SOL_SOCKET, SO_REUSEADDR);
if (params[PIEthernet::Broadcast]) ethSetsockoptBool(sock, SOL_SOCKET, SO_BROADCAST);
if (type() == PIEthernet::TCP_Client) ethSetsockoptBool(sock, SOL_SOCKET, SO_KEEPALIVE);
applyTimeouts();
applyOptInt(IPPROTO_IP, IP_TTL, TTL());
//cout << "inited " << sock << ": bc = " << params << endl;

View File

@@ -5,6 +5,6 @@
#define PIP_VERSION_MAJOR 0
#define PIP_VERSION_MINOR 5
#define PIP_VERSION_REVISION 0
#define PIP_VERSION_SUFFIX "_alpha"
#define PIP_VERSION_SUFFIX "_beta"
#endif // PIVERSION_H