window: used osiSock to discover broadcast addresses, used more portable types, replaced two instances of variable length stack allocation with std::vector

This commit is contained in:
jrowlandls
2011-09-16 11:54:33 +01:00
parent e54525517c
commit 267d486073
19 changed files with 77 additions and 212 deletions

View File

@@ -13,6 +13,7 @@
//#include <pv/CDRMonitor.h>
#include <osiSock.h>
#include <epicsThread.h>
#include <iostream>
#include <cstdio>
@@ -128,7 +129,7 @@ void testBlockingUDPSender() {
for(int i = 0; i<10; i++) {
cout<<" Packet: "<<i+1<<endl;
transport->enqueueSendRequest(dts);
sleep(1);
epicsThreadSleep(1.0);
}
}