BSD sockets and assembler code