 
 	SocketServer *socketServer = new SocketServer();
 
+	pthread_t t;
+	pthread_create(&t, NULL, &SocketServer::SocketServer_thread, &socketServer);
+
 	SocketClient *host_object;
 	SocketClient *device_object;
 

			fprintf(stderr, "problem creating socket: %s\n", strerror(errno));
		}

		sockaddr_in addr;
		addr.sin_family = AF_INET;
		addr.sin_port = htons(SERVER_SOCKET_PORT);
		addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK);

		bind(sock, (sockaddr*) &addr, sizeof(addr));
		listen(sock, 5);

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

#include <pthread.h>

#include <cuda_runtime.h>
