Ticket #1955 (closed bug: fixed)
socket broken on Windows
Reported by: | fperrad | Owned by: | nwellnhof |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | core | Version: | 2.11.0 |
Severity: | high | Keywords: | |
Cc: | Language: | ||
Patch status: | Platform: | win32 |
Description
the following code fails on Windows
.include 'socket.pasm' .sub 'main' :main .local pmc sock, addr sock = new 'Socket' sock.'socket'(.PIO_PF_INET, .PIO_SOCK_STREAM, .PIO_PROTO_TCP) addr = sock.'sockaddr'('www.parrot.org', 80) sock.'connect'(addr) say "ok" .end
with the output:
gethostbyname failure [www.parrot.org] ok
Change History
Note: See
TracTickets for help on using
tickets.