|
|
|
|
|
by RyanZAG
4474 days ago
|
|
You open network sockets in Linux and redirect stdout to them? It's possible with curl I guess, but generally people don't do that as it's hard to send the data in the right format. Mostly people will use a tool to access network services. As for serving files, you'd normally let nginx or apache take care of the sockets for you and not use output redirection. In Plan9 it's actually viable to use network sockets as files which is pretty nice, but for Linux it's not really how people do it. |
|
Please explain that to all the people who wrote CGI scripts for years. Seen the link at all?