added support for UDP devices, added buffer for network devices, added option for sending an initial symbol after opening a network device, added option for setting transfer latency and use default 10 ms for network device, set TCP_NODELAY for TCP device socket, flush potentially buffered input on network device when connecting
This commit is contained in:
@@ -24,7 +24,7 @@ using namespace std;
|
||||
|
||||
int main ()
|
||||
{
|
||||
Device* device = Device::create("/dev/ttyUSB20", true, NULL);
|
||||
Device* device = Device::create("/dev/ttyUSB20", true, false, NULL);
|
||||
if (device == NULL) {
|
||||
cout << "unable to create device" << endl;
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user