#527: SOCK_* definitions vary between target platforms
----------------------+-----------------------------------------------------
Reporter: Infinoid | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: none | Version:
Severity: medium | Keywords:
Lang: | Patch:
Platform: |
----------------------+-----------------------------------------------------
The SOCK_STREAM and SOCK_DGRAM definitions in include/parrot/io.h are
correct for linux and win32, but solaris has different values. As a
result, the http.pir example tries to create a UDP socket when run on
solaris.
These definitions need a lookup table, similar to the one we're using for
PF_*.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/527>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets