#1724: Add getprotobyname to Socket PMCs
----------------------+-----------------------------------------------------
Reporter: ocharles | Type: patch
Status: new | Priority: normal
Milestone: | Component: core
Version: 2.6.0 | Severity: medium
Keywords: sockets | Lang:
Patch: new | Platform:
----------------------+-----------------------------------------------------
I couldn't see any implementation of getprotobyname which seems like a
standard function that should be available. This adds it to Socket PMCs.
I'm not entirely sure this is the correct approach - because normally
you'd call this before creating a socket object. For PIR this is OK, but
in something like Perl 6 this will create a Socket object to call
getprotobyname, then destroy it, then probably create another one straight
after.
Anyway, this is the best I could come up with given my extremely limited
knowledge of Parrot - please advise!
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1724>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets