[perl #126315] IO::Socket::INET: a way to read 1 packet

2015-11-27 Thread jn...@jnthn.net via RT
On Fri Oct 09 16:51:39 2015, tokuhirom wrote: > When I'm implementing a http client, I need to read 1 packet data > without expecting size. In socket programming context, this case is > generic requirement. > This is what recv does. > In rakudo's src/core/IO/Socket.pm. It calls nqp::readfh. > >

Re: [perl #126315] IO::Socket::INET: a way to read 1 packet

2015-10-09 Thread Brandon Allbery
On Fri, Oct 9, 2015 at 7:51 PM, Tokuhiro Matsuno < perl6-bugs-follo...@perl.org> wrote: > I need to read 1 packet data without expecting size. In TCP there is no such thing as 1 packet; TCP is a stream, you *cannot* see the packet(s) underlying it unless you use a raw socket and implement the TC

[perl #126315] IO::Socket::INET: a way to read 1 packet

2015-10-09 Thread Tokuhiro Matsuno
# New Ticket Created by "Tokuhiro Matsuno" # Please include the string: [perl #126315] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=126315 > When I'm implementing a http client, I need to read 1 packet data without expectin