开发者

Interprocess communication with Lua and C#

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜