Dears all, I use sock_recvmsg(net/socket.c) to receive network package. I found that it return an error number of -512. Could anybody tell me what's the error number means. Thanks for all. I use tcp protocol, and I found that scm_recv do not return any error number, so the error number is returned by sock->ops->recvmsg, that is tcp_recvmsg()(net/ipv4/tcp.c); My kernel version is 2.4.18-14(RedHat Linux 8.0). Best regards. /yf - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html