rem: fsync();
add: fsync(connect_socket);
context: void send(struct hand_struct *hand_local)	//sends information through socket	{	using namespace remote_tcp_glove_ns;	static char         *hand_loc_char_ptr;	hand_loc_char_ptr=(char *)hand_local;	static unsigned int remaining;	static unsigned int amt_sent;	for( remaining = sizeof(struct hand_struct); remaining > 0;)		{		if ( -1 == (amt_sent = send(connect_socket, &hand_loc_char_ptr[sizeof(struct hand_struct)-remaining], remaining, 0)))			{			cerr<<"failed to read"<<endl;			break;			}		remaining -= amt_sent;		}	fsync();//flushes buffer	return;	}