This is a read-only snapshot of the ComputerCraft forums,
taken in April 2020.
http.create and http.connect
Started by AnDwHaT5, 21 February 2013 - 12:27 PMPosted 21 February 2013 - 01:27 PM
Tell me how much easier would it be if we had http.create and http.connect. It would make like a connection over the internet that would be temporary until the computer server went off. Think about it. A global internet browser. Better emailing systems with real email!!! Chat rooms made for global affairs(made easier) This is what we could do!! Then after it is up you can use http.connect and a different computer can connect to that site made. Since that program will be coded in lua it will ether show like a web page or even just be a simple connection!!! This is a idea that should be added into cc.
Posted 21 February 2013 - 01:41 PM
What exactly are you requesting?
Posted 21 February 2013 - 01:41 PM
I don't think you understand what HTTP does or how it works.
Posted 21 February 2013 - 01:42 PM
Do you have any idea how HTTP works? It's not a connection, it's a single request. You're thinking of a socket library or something. It can be done using some PHP / a web language and a "server" program. I will not make this for you, look it up yourself.
Posted 21 February 2013 - 01:42 PM
He may of been getting sockets and HTTP confused.I don't think you understand what HTTP does or how it works.
Posted 21 February 2013 - 01:44 PM
I understand but it will create a online temporary server. That will be very helpful to coding. I see your point (which was not stated lol) but why not make it a http. It is easyer to do and possibly he can host it on this website here. If he hosts it on computercraft.info it will be even better. You understand now?I don't think you understand what HTTP does or how it works.
Posted 21 February 2013 - 01:46 PM
Yes i know it is a single request. Im sure this will be easyer.Do you have any idea how HTTP works? It's not a connection, it's a single request. You're thinking of a socket library or something. It can be done using some PHP / a web language and a "server" program. I will not make this for you, look it up yourself.
Posted 21 February 2013 - 01:47 PM
Confirming that you actually don't.I understand but it will create a online temporary server. That will be very helpful to coding. I see your point (which was not stated lol) but why not make it a http. It is easyer to do and possibly he can host it on this website here. If he hosts it on computercraft.info it will be even better. You understand now?I don't think you understand what HTTP does or how it works.
Posted 21 February 2013 - 01:49 PM
Somebody kill me now.
Posted 21 February 2013 - 01:50 PM
Hmm this will be harder to explain my thoughts here. I would have thought people would have understood this by now. It temporarily creates a site and by using http.connect it will connect to the temporarily made site and show results. It is a single request but it acts like a server.Confirming that you actually don't.I understand but it will create a online temporary server. That will be very helpful to coding. I see your point (which was not stated lol) but why not make it a http. It is easyer to do and possibly he can host it on this website here. If he hosts it on computercraft.info it will be even better. You understand now?I don't think you understand what HTTP does or how it works.
Posted 21 February 2013 - 01:51 PM
Can you explain how it would work? Not what it would do, but how it would work. Preferably without just saying "it creates a site."Hmm this will be harder to explain my thoughts here. I would have thought people would have understood this by now. It temporarily creates a site and by using http.connect it will connect to the temporarily made site and show results. It is a single request but it acts like a server.Confirming that you actually don't.I understand but it will create a online temporary server. That will be very helpful to coding. I see your point (which was not stated lol) but why not make it a http. It is easyer to do and possibly he can host it on this website here. If he hosts it on computercraft.info it will be even better. You understand now?I don't think you understand what HTTP does or how it works.
Posted 21 February 2013 - 01:51 PM
If you dont like my idea then dont waist your time on me for i wont change my mind unless i see relevance to such or something to relevance to such.
Posted 21 February 2013 - 01:52 PM
ok lol well it creates as you know a temp site and it would work like this. Firstly it would make a temp file on a different site lets say the forums. Then after when someone connects it sends a burst of data to that computer from the post on the site and is transmitted into the computer.Can you explain how it would work? Not what it would do, but how it would work. Preferably without just saying "it creates a site."Hmm this will be harder to explain my thoughts here. I would have thought people would have understood this by now. It temporarily creates a site and by using http.connect it will connect to the temporarily made site and show results. It is a single request but it acts like a server.Confirming that you actually don't.I understand but it will create a online temporary server. That will be very helpful to coding. I see your point (which was not stated lol) but why not make it a http. It is easyer to do and possibly he can host it on this website here. If he hosts it on computercraft.info it will be even better. You understand now?I don't think you understand what HTTP does or how it works.
Posted 21 February 2013 - 01:56 PM
So you want a (CC) computer to act as a HTTP server, over the internet? No. That will not happen. Ever.
Posted 21 February 2013 - 01:56 PM
So you do http.create("blah blah blah") and it creates a file somewhere on http://computercraft.info/ that contains "blah blah blah" and returns the address of it…?ok lol well it creates as you know a temp site and it would work like this. Firstly it would make a temp file on a different site lets say the forums. Then after when someone connects it sends a burst of data to that computer from the post on the site and is transmitted into the computer.
Posted 21 February 2013 - 01:56 PM
HOW CAN YOU BE THIS DAMN STUPID!?!
/me blows his brains out
/me blows his brains out
Posted 21 February 2013 - 01:56 PM
I'm gonna go ahead and lock this.