Sockets: http, get index file
i need to get the index file from a web address that's just a directory, i tried doing this directly with
but they need the file name, they cant get the index from just the directory. i could loop through all the possible names like index.htm, index.html, index.php, i think there's index.asp, and there's probably more, but that just seems slow and sloppy to me. however, you can do this with sockets by only specifying the directory right?