On 4/6/99 6:25 PM, Paul L. Suh psuh@apple.com tickled the keyboard to say: >I have a problem with one of the examples from the documentation, in >the perlipc.pod file. In the section on using IO::Socket, there is an >example of creating a server using ->new() and then ->accept() and >then getting a client socket back. However, the call > >$client->peeraddr; > >fails with an error that the field is empty. No matter what I try, I >cannot get data on the address of the client who has accessed my >server. Has anyone encountered this before? How can I locate the >address of the client who is hitting my server? I'd like to keep it >OO using IO::Socket if I can. OK, so I'm following up my own post. After extensive snooping around, I discovered that the version of the IO.pm package that is included with the MacPerl 5.2.0r4 distribution is quite a bit behind the current version; 1.1604 is the one in the distribution and 1.20 is the current package on CPAN. There are a number of items in the change log that could affect my problem. I've never built a Mac .xs and thus I don't have a toolserver set-up already to handle this, so if someone who has built .xs's before can re-build the IO.pm module, I would be grateful. However, until this happens I will have to go back to old procedural sockets as I want to get this project done soon. If nobody does anything, I may get grumpy and go ahead and figure out how to do the build myself when I have time. --Paul ===== Want to unsubscribe from this list? ===== Send mail with body "unsubscribe" to macperl-request@macperl.org