Skip to content


Subversion checkout URL

You can clone with
Download ZIP


No such method 'bytes' for invocant of type 'Str' #15

ronaldxs opened this Issue · 0 comments

1 participant


The above error now comes out for the current version of rakudo because the Str object no longer supports the .bytes method and IO::Socket::INET.recv() returns a string not a buffer. A hacky fix just changing .bytes to .chars might work but it may be better to use read() rather than recv() to get back a byte oriented buffer or wait for some planned parrot changes that may allow recv to return a buffer again. I am currently working on a read() based solution to this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.