Changeset 5650 in orxonox.OLD for branches/network/src/lib
- Timestamp:
- Nov 20, 2005, 3:39:38 AM (19 years ago)
- Location:
- branches/network/src/lib
- Files:
-
- 18 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/Makefile.in
r5530 r5650 1 # Makefile.in generated by automake 1.9. 6from Makefile.am.1 # Makefile.in generated by automake 1.9.5 from Makefile.am. 2 2 # @configure_input@ 3 3 … … 15 15 @SET_MAKE@ 16 16 17 18 SOURCES = $(libORXlibs_a_SOURCES) 17 19 18 20 srcdir = @srcdir@ -
branches/network/src/lib/collision_detection/Makefile.in
r5530 r5650 1 # Makefile.in generated by automake 1.9. 6from Makefile.am.1 # Makefile.in generated by automake 1.9.5 from Makefile.am. 2 2 # @configure_input@ 3 3 … … 15 15 @SET_MAKE@ 16 16 17 18 SOURCES = $(libORXcd_a_SOURCES) 17 19 18 20 srcdir = @srcdir@ -
branches/network/src/lib/event/Makefile.in
r5530 r5650 1 # Makefile.in generated by automake 1.9. 6from Makefile.am.1 # Makefile.in generated by automake 1.9.5 from Makefile.am. 2 2 # @configure_input@ 3 3 … … 15 15 @SET_MAKE@ 16 16 17 18 SOURCES = $(libORXevent_a_SOURCES) 17 19 18 20 srcdir = @srcdir@ -
branches/network/src/lib/graphics/Makefile.in
r5530 r5650 1 # Makefile.in generated by automake 1.9. 6from Makefile.am.1 # Makefile.in generated by automake 1.9.5 from Makefile.am. 2 2 # @configure_input@ 3 3 … … 15 15 @SET_MAKE@ 16 16 17 18 SOURCES = $(libORXgraphics_a_SOURCES) 17 19 18 20 srcdir = @srcdir@ -
branches/network/src/lib/graphics/importer/Makefile.in
r5530 r5650 1 # Makefile.in generated by automake 1.9. 6from Makefile.am.1 # Makefile.in generated by automake 1.9.5 from Makefile.am. 2 2 # @configure_input@ 3 3 … … 15 15 @SET_MAKE@ 16 16 17 18 SOURCES = $(libORXimporter_a_SOURCES) 17 19 18 20 srcdir = @srcdir@ -
branches/network/src/lib/graphics/spatial_separation/Makefile.in
r5530 r5650 1 # Makefile.in generated by automake 1.9. 6from Makefile.am.1 # Makefile.in generated by automake 1.9.5 from Makefile.am. 2 2 # @configure_input@ 3 3 … … 15 15 @SET_MAKE@ 16 16 17 18 SOURCES = $(libORXquadtree_a_SOURCES) 17 19 18 20 srcdir = @srcdir@ -
branches/network/src/lib/gui/Makefile.in
r5530 r5650 1 # Makefile.in generated by automake 1.9. 6from Makefile.am.1 # Makefile.in generated by automake 1.9.5 from Makefile.am. 2 2 # @configure_input@ 3 3 -
branches/network/src/lib/gui/gl_gui/Makefile.in
r5530 r5650 1 # Makefile.in generated by automake 1.9. 6from Makefile.am.1 # Makefile.in generated by automake 1.9.5 from Makefile.am. 2 2 # @configure_input@ 3 3 … … 15 15 @SET_MAKE@ 16 16 17 18 SOURCES = $(libORXglgui_a_SOURCES) 17 19 18 20 srcdir = @srcdir@ -
branches/network/src/lib/gui/gtk_gui/Makefile.in
r5530 r5650 1 # Makefile.in generated by automake 1.9. 6from Makefile.am.1 # Makefile.in generated by automake 1.9.5 from Makefile.am. 2 2 # @configure_input@ 3 3 … … 15 15 @SET_MAKE@ 16 16 17 18 SOURCES = $(libORXgui_a_SOURCES) 17 19 18 20 srcdir = @srcdir@ -
branches/network/src/lib/network/Makefile.in
r5614 r5650 1 # Makefile.in generated by automake 1.9. 6from Makefile.am.1 # Makefile.in generated by automake 1.9.5 from Makefile.am. 2 2 # @configure_input@ 3 3 … … 15 15 @SET_MAKE@ 16 16 17 18 SOURCES = $(libORXnet_a_SOURCES) 17 19 18 20 srcdir = @srcdir@ -
branches/network/src/lib/network/network_stream.cc
r5649 r5650 85 85 byte* test = (byte *)data[0]; // obsolete, for debugging only 86 86 int ret = 0; 87 this->synchronizeable->writeByteStream(NULL); 88 ret = this->networkSocket->writeBytes(NULL,1); 89 test = this->synchronizeable->readByteStream(); 90 ret = this->networkSocket->readBytes(test,1); 87 88 byte downData[10]; 89 byte upData[10]; 90 91 /* DOWNSTREAM */ 92 /* first of all read the synchronizeable's data: */ 93 ret = this->synchronizeable->readBytes(downData); 94 /* pass the data to the network socket */ 95 ret = this->networkSocket->writeBytes(downData, ret); 96 /* check if there was an error */ 97 if( ret == -1) { PRINTF(0)("Error in writing data to the NetworkSocket\n");} 98 99 100 /* UPSTREAM */ 101 /* first read 10bytes of data (debug) */ 102 ret = this->networkSocket->readBytes(upData, 0); 103 /* error checking: data read? */ 104 if( ret != 10) { PRINTF(0)("Error while reading data from the NetworkSocket\n");} 105 /* now pass the data to the sync object */ 106 this->synchronizeable->writeBytes(upData, 0); 107 108 109 91 110 } 92 111 -
branches/network/src/lib/network/synchronizeable.cc
r5564 r5650 41 41 \brief write data to NetworkStream 42 42 */ 43 void Synchronizeable::writeByte Stream(byte* data)43 void Synchronizeable::writeBytes(byte* data, int length) 44 44 { 45 45 … … 52 52 \brief read data from NetworkStream 53 53 */ 54 byte* Synchronizeable::readByteStream()54 int Synchronizeable::readBytes(byte* data) 55 55 { 56 56 -
branches/network/src/lib/network/synchronizeable.h
r5581 r5650 17 17 ~Synchronizeable(); 18 18 19 virtual void writeByte Stream(byte* data);20 virtual byte* readByteStream();19 virtual void writeBytes(byte* data, int length); 20 virtual int readBytes(byte* data); 21 21 virtual void writeDebug(); 22 22 virtual void readDebug(); -
branches/network/src/lib/particles/Makefile.in
r5530 r5650 1 # Makefile.in generated by automake 1.9. 6from Makefile.am.1 # Makefile.in generated by automake 1.9.5 from Makefile.am. 2 2 # @configure_input@ 3 3 … … 15 15 @SET_MAKE@ 16 16 17 18 SOURCES = $(libORXparticles_a_SOURCES) 17 19 18 20 srcdir = @srcdir@ -
branches/network/src/lib/physics/Makefile.in
r5530 r5650 1 # Makefile.in generated by automake 1.9. 6from Makefile.am.1 # Makefile.in generated by automake 1.9.5 from Makefile.am. 2 2 # @configure_input@ 3 3 … … 15 15 @SET_MAKE@ 16 16 17 18 SOURCES = $(libORXphysics_a_SOURCES) 17 19 18 20 srcdir = @srcdir@ -
branches/network/src/lib/shell/Makefile.in
r5530 r5650 1 # Makefile.in generated by automake 1.9. 6from Makefile.am.1 # Makefile.in generated by automake 1.9.5 from Makefile.am. 2 2 # @configure_input@ 3 3 … … 15 15 @SET_MAKE@ 16 16 17 18 SOURCES = $(libORXshell_a_SOURCES) 17 19 18 20 srcdir = @srcdir@ -
branches/network/src/lib/sound/Makefile.in
r5530 r5650 1 # Makefile.in generated by automake 1.9. 6from Makefile.am.1 # Makefile.in generated by automake 1.9.5 from Makefile.am. 2 2 # @configure_input@ 3 3 … … 15 15 @SET_MAKE@ 16 16 17 18 SOURCES = $(libORXsound_a_SOURCES) 17 19 18 20 srcdir = @srcdir@ -
branches/network/src/lib/tinyxml/Makefile.in
r5530 r5650 1 # Makefile.in generated by automake 1.9. 6from Makefile.am.1 # Makefile.in generated by automake 1.9.5 from Makefile.am. 2 2 # @configure_input@ 3 3 … … 15 15 @SET_MAKE@ 16 16 17 18 SOURCES = $(libtinyxml_a_SOURCES) 17 19 18 20 srcdir = @srcdir@
Note: See TracChangeset
for help on using the changeset viewer.