[SOLVED] add return value when puts


photo

Recommended Posts

Hi,

 

Will be interesting to have more info when I use puts on socket inside script.

Theoretically the write function on socket return the size write on the socket. That will be nice to have this possibility, now puts return void :(

Thanks.

Tony

Link to post

Ok. All Stream.write* function will return the result of write operation.

Link to post