On Mon, Mar 06, 2006 at 03:31:17PM -0800, Allison Randal wrote: > On Mar 6, 2006, at 4:08, Leopold Toetsch wrote:
> > * C<sockaddr> returns a string representing a socket address > > [Nicholas] "I don't think that this is appropriate. It's IPv4 > >specific." > > > >A more general SocketAddr PMC seems to be needed here. > > Possibly. A smarter Parrot equivalent of a standard sockaddr structure: > > http://www.awprofessional.com/articles/article.asp? > p=101172&seqNum=5&rl=1 > > Will it be used anywhere other than a call to C<bind>? If not, > there's probably a simpler way to handle it. >From memory, socket addresses show up as results from C<accept>, C<getsockname>, C<getpeername> and C<recvfrom>/C<recvmsg>, and are also used as arguments to C<sendto>/C<sendmsg> Nicholas Clark