Why can't you send integers with write.... int myint = 1234; write(fd, (char*)&myint, sizeof(int));.
確定! 回上一頁