Allison Randal wrote:
> One fix: we deprecated and removed the socket opcodes intentionally. If
> socket PMC methods aren't sufficient, we can have socket dynops. (We're
> likely moving all the other io ops to dynops too.)

I've updated the httpd.pir example to use pmc methods as much as
possible.  There were two ops I couldn't eliminate: "socket" and
"sockaddr".  There doesn't seem to be a way to create Socket and
SockAddr objects directly and initialize them correctly... there's no
way to set the address of an existing SockAddr object, and no way to
specify e.g. AF_INET, SOCK_STREAM and all of that for an existing Socket
object.

Mark
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-dev

Reply via email to