E bine cum faci. Vezi ca sunt big endian. Daca faci printk tb sa folosesti ntohs(ports) si ntohs(portd). Ionut. __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/