lab 6 skeleton
Modified makefile to use correct path to solutions
Added base code for mdb-lookup by integrating the sample code
Added mdb-lookup logic to the server.c file, as well as send logic
Paste didn't paste everything. Getting weird tab errors since solutions

uses a tab of 4 and I use a tab of 8. vim paste also tabs funky
sometimes
Sent the blank line. Figured out more stuff about how the loop works.

Still wondering if HandleTCPClient(clntSock) will close the sock before
I get a chance to even use the lookup, but I'll figure this out when I
actually test it
Forgot to add the headers for the mdb-lookup after I combined

the two files
No errors in my code, but it hangs when it arrives at the accept line

inside of the for loop. Even when i try netcatting to the port from
another terminal, it doesn't connect to the port
Got server to connect (had to do argv[2]) but now I'm having a problem

where lookup: isn't appearing in client and I can't search anything up
yet. At least the connection is established. I think this is because a
lot of my logic is done within the loop but some of it doesn't apply
from the client side? Will keep messing with this.
things starting to come together. Couple issues: HandleTCPClient -

i have no idea what you're doing. When I add you, I can't look anything
up. When I don't, I'm not checking for errors. I don't see why you're
necessary, so I'm going to copy your functionality into the loop and not
use you probably.
Everything seems to be working well. I think I'm checking for all

errors, and no memory leaks. There is still a lot allocced that would
sometimes generate memory errors if I used the HandleTCP function (which
I no longer do), so I should probably check just in case to make sure
that part isn't also messed up
Modded makefile to clean up the .nfs files
Starting writing http-client c file. Wondering if I need to make a

new struct for getaddrinfo since I'm not using gethostbyname like Jae's
code is. Will know for sure when I get around to testing.
Added more functionality trying to figure out how these sockets work.

Turns out copying the code straight from the client won't do all the
work for me. Bummer. I have to send the GET request with Send using
string concatenation and then make sure that I'm getting something back,
which is where I apply Jae's fdopen and stuff, I'm guessing
Starting adding logic for HTTP requests. Still not sure exactly what

the formatting should be, but I'll find out when I test
I think I finished my first draft. Added functionality and GET stuff,

reading the HtML and everything. Just need to test because I'm sure
there are logic errors / minor things.
Added makefile
Debugging code for stuff. Some logic errors just with pointers.

Nothing too big but we'll see what happens after i get it to compile
Dumb mistake where I had main in Makefile
Getting an error that says connect() failed. This probably means I'm

not passing something in right as a parameter when I connect? The IP
address is correct though. I need to check the logic here.