Jump to content




Rednet Internet


  • You cannot reply to this topic
6 replies to this topic

#1 Wired2coffee

  • Members
  • 46 posts
  • LocationThe Coffee Maker

Posted 25 March 2012 - 08:01 AM

INTERNET CLIENT CODE:
http://pastebin.com/sC2mWpsy
Spoiler

How to Use the Browser:

1. Make a file called "clientConnect."
2. In each line, add the ID of a server you want to connect to (have to be able to connect to all of them!).
3. Go onto websites others created.
4. Type upload:<fileName> or download:<fileName> to upload or download a file from or to a server.
Note -- client will lock up if you go onto an invalid or nonexistent website or attempt downloading a file that does not exist.

INTERNET SERVER CODE:
http://pastebin.com/1s16bqvx
Spoiler


How to Create the Server and Websites:

1. Make a file called "serverWebsites."
2. In each line of this file, add a name of a website you will host.
3. Go into the main terminal and type edit <name of your website>
4. The first line is the code a client will run when people get on to your website.
^ You got that right, you can make them run your own code.
5. The next 14 lines will be the text of your website that people will see when they go on.
5a. These 14 lines cannot be left blank, if you must leave them blank, leave a space in each line.

#2 Alex_

  • Members
  • 63 posts
  • LocationPontefract, West Yorkshire, England

Posted 25 March 2012 - 02:40 PM

Oh crap..
You bet me to it

#3 SquareMan

  • Members
  • 29 posts

Posted 25 March 2012 - 06:18 PM

now you need to make it where you have to have a modem

#4 Wired2coffee

  • Members
  • 46 posts
  • LocationThe Coffee Maker

Posted 25 March 2012 - 07:17 PM

View PostSquareMan, on 25 March 2012 - 06:18 PM, said:

now you need to make it where you have to have a modem
I don't understand, I use a modem for it. In fact, I've never used it with wires...

#5 Wolvan

  • New Members
  • 384 posts
  • LocationIn the TARDIS

Posted 25 March 2012 - 07:24 PM

It isn't really a difference if you use redpower cable or modems.

#6 rex41043

  • Members
  • 88 posts

Posted 26 March 2012 - 02:36 AM

View PostAlex_, on 25 March 2012 - 02:40 PM, said:

Oh crap..
You bet me to it
dude your program/programs are cool keep at it and i have seen like 4 of programs like this but this is the best 1 so far

#7 SquareMan

  • Members
  • 29 posts

Posted 30 March 2012 - 03:13 PM

View PostWired2coffee, on 25 March 2012 - 07:17 PM, said:

View PostSquareMan, on 25 March 2012 - 06:18 PM, said:

now you need to make it where you have to have a modem
I don't understand, I use a modem for it. In fact, I've never used it with wires...
What Im saying is you need to make it have to use a modem, or cables, whice ive never heard of, because I was able to create a website and visit it from another computer without using a modem





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users