p @socketsbefore & after
listen(). The array probably gets nuked after
listenor it wouldn't accept connections at all
@didactic-drunk It returns socket output after
listen as expected. However, it just seems to get wiped like you mentioned. It's kind of weird. I'm not overwriting the object or anything.
Bool | Nil, but I guess it would be true only in the first branch and false | nil in the second
JSON::Serializableand create a general class, which consumes any json string and returns Hash representation.