YOU MAY NOT GET HELP FROM OTHERS. THIS IS AN "F" FOR THE SEMESTER OFFENSE YOU MAY NOT GET HELP FROM OTHERS. THIS IS AN "F" FOR THE SEMESTER OFFENSE YOU MAY NOT GET HELP FROM OTHERS. THIS IS AN "F" FOR THE SEMESTER OFFENSE YOU MAY NOT GET HELP FROM OTHERS. THIS IS AN "F" FOR THE SEMESTER OFFENSE YOU MAY NOT GET HELP FROM OTHERS. THIS IS AN "F" FOR THE SEMESTER OFFENSE Your mission is to make a web filter. It works as a proxy for a web server, changing the word "Class" to "Video". My code is 80 lines, ignring MakeSocket, MakeserverSocket, and #includes Be careful of the browser cache. Use refresh or refresh to force-reload for some browsers. How it works Make a normal server socket. Wait for someone to connect When they connect to you, you connect to euclid.nmu.edu port 80 Relay data back and forth using poll Substitute any version of "class"/"course" into "video"/"videos" If either side ends the connection, hang up on everyone go back to waiting for a connection. You should use the poll() command to see which side has data to send at any moment. Points 25 - Can carry one request from the browser to the server 25 - Can carry one reply back to the browser from the server 30 - Handles repeated traffic back and forth (Multiple connections both way) 5 - Translates the word "class" or "course" sent by the server to "video" or "vidoes" sent to the browser +5 - Works for all words, not just the first instance. And ignores case +5 - If you translate as shown above, turn that off unless the file is a text or HTML file 5 - Easter egg: If the requested file is "Easter.html" just return a funny page (should be funny) Total: 100 Due: Tuesday April 14th. 10 points per day late. URLS to test on: Has the word course, should become videos. Also, the picture of Dr. Kow should not break. http://euclid.nmu.edu:2234/~mkowalcz/old/cs120w10/index.html Has the word Class, should become video. Also, the file icons should not break. http://euclid.nmu.edu:2234/~rappleto/Classes/CS228/