Jump to content

[SOLVED] add return value when puts


photo

Recommended Posts

Posted

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

Posted

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

×
×
  • Create New...