dan200 / ComputerCraft

Programmable Computers for Minecraft
Other
978 stars 198 forks source link

[Suggestion] Native socket API #353

Open DevelopedLogic opened 7 years ago

DevelopedLogic commented 7 years ago

No seen anything on implementing a native socket API into CC like the one in CCTweaks. Any thoughts?

SquidDev commented 7 years ago

161 is sort of related, as it talks about web sockets instead. I'd quite like both as each has their different uses. A couple of things to consider:

DevelopedLogic commented 7 years ago

@SquidDev The API which is implemented in CCTweaks suffices perfectly for what I do - Unencrypted basic connections between a java/python server and the in-game computer. The current CCTweaks syntax is also very simple and works perfectly well.

DevelopedLogic commented 7 years ago

Oops. Sorry. Closed it accidentally.

Keanu73 commented 7 years ago

A socket API would be awesome. @SquidDev should send in a PR which does that. Finally IRC chat programs could exist without using webchat (probs every server hates that one). And OC would be competing with CC, I guess... (although both mods are good to have so.. ¯_(ツ)_/¯)