Mercurial > hg > beaglert
diff projects/basic_network/render.cpp @ 86:7cc79d46ecb9
harcoded values into basic_network
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Sat, 18 Jul 2015 02:29:03 +0100 |
parents | 3c3a1357657d |
children | a55dcdcebdcd |
line wrap: on
line diff
--- a/projects/basic_network/render.cpp Fri Jul 17 23:12:09 2015 +0100 +++ b/projects/basic_network/render.cpp Sat Jul 18 02:29:03 2015 +0100 @@ -46,8 +46,8 @@ networkObject.variables[0]=&gFrequency; networkObject.variables[1]=&gPhase; networkObject.numVariables=2; - - setupSockets(settings->receivePort, settings->transmitPort, settings->serverName); +// setupSockets(settings->receivePort, settings->transmitPort, settings->serverName); + setupSockets(10000, 9999, "127.0.0.1"); transmitReceiveDataTask= BeagleRT_createAuxiliaryTask(*transmitReceiveData, 80, "transmit-receive-data"); //scheduleAuxiliaryTask(transmitReceiveDataTask); //here it does not work return true;