I think I explanied myself in a bad way. When I tal about server I mean a linux box with a server based on twisted-python. To clarify, when I print from arduino to the server (linux) I use
client.write(array_to_send, len_array_to_send)
any suggestion?