大家好,又见面了,我是全栈君。
EFAULT:
- Bad address (POSIX.1),在stackoverflow上看到的这个解释不错:
- It happen if the memory address of some argument passed to sendto (or more generally to any system call) is invalid. Think of it as a sort of SIGSEGV in kernel land regarding your syscall. For instance, if you pass a null or invalid buffer pointer (for reading, writing, sending, recieving…)。说明在对套接字上调用某些函数的时候传入了空指针等非法參数,的确如此。
-

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/115305.html原文链接:https://javaforall.net