Re: is forking rz/sz portable?
By: candycane to All on Wed Aug 02 2023 02:12 pm
I was wondering if forking sz and rz would be considered portable or not, and whether i could just make it read from the forked stream and post it
[l]sz/rz sends and receives data (X/Y/ZMODEM packets) using stdio. This is "portable" on most Unix-like OSes, yes. In fact, this is exactly how Synchronet supports x/y/zmodem transfers using stdio protocol drivers (like lsz/rz) on Unix-like OSes. On Windows, a protocol driver is expected to support socket I/O directly (not via stdio stream) and accept an inheritable socket descriptor (e.g. via command-line argument) on which to send and receive data.
--
digital man (rob)
Rush quote #51:
Suddenly you were gone from all the lives you left your mark upon
Norco, CA WX: 89.7°F, 30.0% humidity, 7 mph S wind, 0.00 inches rain/24hrs
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net