Perhaps

File >> connectToFileDescriptor: fileDescriptor writable: writableFlag

followed by read/writeStream ?


Not tested, just did a few searches in P8 image.

________________________________
From: Jan Vraný <[email protected]>
Sent: Thursday, July 20, 2023 9:20:46 AM
To: [email protected]; [email protected]
Subject: [Pharo-dev] Opening a stream on file with given file descriptor

Hi,

I'm struggling to find a way how to create a read/write stream
for given file descriptor (in Pharo 8 ideally). Is there a way?

Thanks! Jan

Reply via email to