Hello again!

I would like to know whether it is possible to make a program that serves web pages, along with all of their embedded links and external CSS stylesheets or scripts? It would have to serve it across:

a) a USB cable, attached to the serving and client computer
b) a network, directly to other computers.

I would really like it if option A were possible. B is what everything else uses, and I won't try that. I don't have a network.