struct socket and peers

James R. Leu (jleu@chaos.coredcs.com)
Tue, 1 Jul 1997 11:58:07 -0500 (CDT)


This a "How do I do this in the kernel" question. If there is a better list
to post to, please give me the address, and I will take my question else
where.

With a udp socket (struct socket) how can I tell if it's peer is connected,
or if there is data waitng to be read.

It is my understanding that (struct socket*)s->conn is not used with IP
protocols.

Thanks

-- 
James R. Leu
Network Administrator
CORE Digital Communication Services
jleu@coredcs.com