[RFC] Additional methods for Sockets.

Vasily Chekalkin bacek at bacek.com
Thu Apr 2 12:27:27 UTC 2009


Hello.

Currently Sockets doesn't have public API for fetching local and remote 
Sockaddr. So, it is virtually impossible to "properly" implement some 
kind of HTTP daemon with logging of remote clients.

My proposal to add "get_local_sockaddr" and "get_remote_sockaddr" (or 
similar) methods to Socket.pmc. We also need some public exposure for 
Sockaddr but I haven't good idea how to do it.

-- 
Bacek.


More information about the parrot-dev mailing list