Fixed problem with tcp sockets. From now i send data in a C-way. It works.