A socket communication baseed API for C++ Programmation