Attract-Mode Support Forum
Attract-Mode Support => Scripting => Topic started by: chokito76 on August 30, 2014, 08:01:46 PM
-
Hi, is it possible to create a plugin that connects to a TCP server open on the same computer attract-mode is running to send information like rom list swaps and games loaded?
-
Hi, you should be able to do this using the squirrel 'system' function in your script to run netcat:
http://en.m.wikipedia.org/wiki/Netcat
system function doc: http://www.squirrel-lang.org/doc/sqstdlib3.html#d0e1938