I have an application in Lua, I want to communicate between the Lua application and a C# program.
I know of several ways to do this in C# (sockets, OS pipes etc) but I can't find any information about these things in Lua (which is a language I'm rather unfamiliar with unfortunately).
The IPC sending and receiving must not block for longer开发者_如何转开发 than a few milliseconds, since the Lua script is part of a game and the game will crash if the script takes too long to execute.
Any good links to libraries/tutorials would be greatly appreciated.
The only option I've seen for this would be to use LuaSocket, and communicate via TCP or UDP.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论