[Freeciv-Dev] [patch #2935] UNIX domain socket for freeciv.
Follow-up Comment #3, patch #2935 (project freeciv): freeciv.fi also uses the `tail -f` trick. UNIX sockets are a nice and useful feature. ___ Reply to this item at: http://gna.org/patch/?2935 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [patch #2935] UNIX domain socket for freeciv.
Follow-up Comment #1, patch #2935 (project freeciv): could you update the patch so it can be used with current trunk? At the moment I get compile errors at getpeereid() in sernet.c ___ Reply to this item at: http://gna.org/patch/?2935 ___ Nachricht geschickt von/durch Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [patch #2935] UNIX domain socket for freeciv.
URL: http://gna.org/patch/?2935 Summary: UNIX domain socket for freeciv. Project: Freeciv Submitted by: akfaew Submitted on: Fri Aug 19 07:25:30 2011 Category: None Priority: 5 - Normal Status: None Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Planned Release: ___ Details: In longturn it's desirable to automate certain tasks. Until now this is how the server was started: tail -f $GAMENAME/.civinput | $CMD 21 | tee $GAMENAME/.civoutput | logger -t $GAMENAME I've written preliminary UNIX domain socket support, just for input. Diff and example remote program attached. Most of the code comes from xxxterm. ___ File Attachments: --- Date: Fri Aug 19 07:25:30 2011 Name: remote.c Size: 1kB By: akfaew http://gna.org/patch/download.php?file_id=13914 --- Date: Fri Aug 19 07:25:30 2011 Name: freeciv_sock.diff Size: 5kB By: akfaew http://gna.org/patch/download.php?file_id=13915 ___ Reply to this item at: http://gna.org/patch/?2935 ___ Message sent via/by Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev