ncsoft / Unreal.js

Unreal.js: Javascript runtime built for UnrealEngine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"net" as a wrapper of "SocketSubsystem"

opened this issue · comments

So as we all know, we cannot use the core modules of node.js.
Currently I'm in a dilemma about using a module which has a dependency on the "net" module.

Unreal Engine 4 has a full capable API to handle TCP and UDP connections, the "SocketSubsystem".

How feasible do you believe is it to make a "net" module as a wrapper of "SocketSubsystem" for Unreal.js?

Or as an option, to implement the "SocketSubsystem" API for Unreal.js.
As I can see, it's completely missing, am I correct?

I think it's pretty doable, but a fairly substantial undertaking. You'd need to match the API of net as closely as possible to the one in node.js to provide compatibility.