3 ms·
You can use `funopencookie` to create a binding of a socket to a `FILE*`; in that case you could literally use fprintf and fscanf to send messages...
by thechao 2y ago
You can use `funopencookie` to create a binding of a socket to a `FILE*`; in that case you could literally use fprintf and fscanf to send messages...
- shawn_w 2y ago`fdopen()` is a lot simpler.