Media-tangle 0.0.1a is as if a pure (& minimal) web-server. The first little step.
The following software is NOT complete, yet. In the spirit of flight & fight, I publish incrementally.
Legal Speak. media.exe, AND OTHER FILES/CONTENT AT THIS SITE, IS/ARE PROVIDED AS IS, WITHOUT ANY GUARANTEES. IT IS THE USER'S RESPONSIBILITY/CHOICE TO MAKE SURE, TO ENSURE CORRECT OPERATION (TO HIS/HER/THEIR SATISFACTION LEVEL), ON THE SET OF PROBLEMS HE/SHE/IT ENCOUNTERS. IN JURISDICTIONS, OR CONDITIONS, WHERE SUCH NOTICES LIKE THIS, WOULD STILL LEAVE THE SOFTWARE/AUTHOR LIABLE FOR ANY DAMAGES, OR IN ANY WAY, WOULD LET LITIGATION TO EXIST, PERMISSION FOR USE IS NOT GIVEN.
In the following text box, there is the batch file for producing media.exe. (See how to, if you need more info.)
media.exe is looking for the "http" subdirectory in the working directory. The hostnames listable within the http directory, as subdirectories. No limit to how many media.exes may be run in your system -- but all need to have different IPs to attach to.
For setting the (four-byte) IP to attach to, the MSDOS debug or your favorite binary-editor will do. Modify the four-byte IP, found at the offset 520 (hex, 0x208), to your IP. To serve for internet, set the IP to all zeroes. The default is 127.0.0.1 (the localhost). Most flexibly, loop for your favorite IP addresses -- until Media-tangle is able to start, without returning a retval of "2" -- the "2" reporting of internet-startup faults, most suggestively, that IP is non-available. Loop your list. For looping, batch/script files, or program-based (for example, from within C, or PHP files) process-running, both are cozy.
With form@fix, one style is
\F= "media.exe" \\load media.exe \r filelen \a 520 \\at offset 520 \a+1 1 127 \\the first byte is with the value 127 \a+1 1 0 \\the following byte is zero \a+1 1 0 \\the following byte is zero \a+1 1 1 \\the fourth byte is 1 \a filelen \F== "media.exe" \\rewriting media.exe \A--
For more info, discussing D80 is valuable.
But "100"-related portions do not apply, so far, because there is no support for upload methods -- POST, nor PUT, of HTTP --, yet.