Subject: Quetion about sctp_get[lp]addrs().

From: KOZUKA Masahiro <[email-masked]>
Date: Sun, 21 Mar 2004 02:48:57 +0900

Hi, sctp-impl.
I have a question about sctp_get[lp]addrs().
These functions have the following arguments.
	(int sock, sctp_assoc_t id, struct sockaddr **raddrs);

I think that on this specification we can't use raddrs for getnameinfo(), or
it is hard.
Because to use  getnameinfo() we must set salen for sockaddr's length, but
sctp_get[lp]addrs() doesn't give us the information....

This problem doesn't appear on BSD system, it has sa_len on sockaddr.
But this programing style isn't recommended. On Linux system
there is no sa_le, so it doesn't work on Linux system.
We should add sockaddr's length to sctp_get[lp]addrs()?

P.S.
	I noticed that SCTP Socket API Internet-Draft expireed.
	What happened?:)
-- 
{^-^}/@kozuka.jp / KOZUKA Masahiro