Ticket #527 (closed bug: fixed)
SOCK_* definitions vary between target platforms
Reported by: | Infinoid | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | none | Version: | |
Severity: | medium | Keywords: | |
Cc: | Language: | ||
Patch status: | applied | Platform: |
Description
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_*.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.