changeset 86:7cc79d46ecb9

harcoded values into basic_network
author Giulio Moro <giuliomoro@yahoo.it>
date Sat, 18 Jul 2015 02:29:03 +0100
parents 91e1a3a220d4
children 567bd8f76714
files projects/basic_network/render.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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;