Comunication btw java and linux socket c