This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
wilcomega's profile picture

Interserver network connector

Started by wilcomega, 09 June 2015 - 10:45 AM
wilcomega #1
Posted 09 June 2015 - 12:45 PM
its a simple block from the users perspective (definatly not from the coders perspective)
you place it down, enter a IP and if the server at that ip also has a block that connects to this server it is linked, and it will show that
once a link is establsihed it will send any messages to the otherserver that arrive at the block
it will also broadcast any messages that are received from the other server.

this might be network intensive but i doubt it.
there might be a couple of rednet ID issues but thats just to deal with i think

this is just an idea that popped into my head, because i think that the http method is a bit unrealistic for making
big interserver networks, i would much rather have a system where servers can talk over rednet to each other
so it keeps it inside of the CC realm and people could accually setup things like websites for the whole community to acces

please do leave any feedback that you might have and have a nice day,
Wilco
Creator #2
Posted 09 June 2015 - 01:11 PM
This would be nice because it would enable you to make a massive server network.
There are some issues:

1. who will code it?
2. how do you link two block? You couls assing ids, but that would make them insecure. You can also use Diffie-Hellman.
3. What if there are several blocks in a world?
MindenCucc #3
Posted 09 June 2015 - 02:53 PM
This is do-able. But CC versions would need to match. But who doesn't want inter-server wired cables? :D/>
apemanzilla #4
Posted 14 June 2015 - 07:55 PM
Personally, I don't see the point of this - it's already possible (and relatively simple) with the HTTP API.
The Crazy Phoenix #5
Posted 17 June 2015 - 08:16 PM
The only problem with the HTTP API is that you need a HTTP server to act as a relay.
apemanzilla #6
Posted 17 June 2015 - 10:27 PM
The only problem with the HTTP API is that you need a HTTP server to act as a relay.

You can get basic webservers with PHP for free.
Wojbie #7
Posted 17 June 2015 - 11:17 PM
OR if you want something more configurable you can get cheap VPS for as low as 15$ a year.
apemanzilla #8
Posted 18 June 2015 - 04:23 AM
OR if you want something more configurable you can get cheap VPS for as low as 15$ a year.

Yeah, or something like Heroku if you want vps power for free.
wilcomega #9
Posted 18 June 2015 - 09:07 AM
the point of this suggestion was that there wasnt a need for community made serivec, but just central service, so that all servers could owkr together instead of heaving annoying incompatebility and comepetitio between services. i would like a network that would span accros all servers