git-svn-id: svn://db.shs.com.ru/pip@420 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5

This commit is contained in:
2017-04-20 07:19:11 +00:00
parent e4ccbed1e4
commit fbcda1ce70
5 changed files with 33 additions and 21 deletions

View File

@@ -14,7 +14,8 @@ public:
eth.setReadAddress(src_ip_port);
eth.setSendAddress(dst_ip_port);
if (test_) {
testt.setPacketSize(1280);
testt.setCRCEnabled(false);
//testt.setPacketSize(1280);
testt.setName("TEST");
//testt.setTimeout(0.1);
CONNECTU(&testt, sendRequest, this, ftsend);
@@ -40,7 +41,7 @@ public:
}
void startTest() {
PIByteArray ba(1024*1024*64);
PIByteArray ba(1024*1024*256);
testt.send(ba);
}