 		outStream = new HadoopUtils::FileOutStream();
 		outStream->open(out_stream);
 
-		printf("SocketClient is connect to port %d ...\n", SERVER_SOCKET_PORT);
+		printf("SocketClient is connected to port %d ...\n", port);
 	}
 
 	~SocketClient() {

		if (sock != -1) {
			int result = shutdown(sock, SHUT_RDWR);
			if (result != 0) {
				fprintf(stderr, "problem shutting socket");
			}
			result = close(sock);
			if (result != 0) {
				fprintf(stderr, "problem closing socket");
			}
		}
	}

	__device__ __host__ void setValue(int v) {
		value = v;
	}
	__device__ __host__ int getValue() {
		return value;
	}
};

/********************************************/
/***************     CUDA     ***************/

#include <fstream>

#include <stdint.h>

#include <string.h>
#include <strings.h>

