about sock_recvmsg

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux