Saturday, April 9, 2011

7


Problem: For a lab, we had to write a client to use a server given to us by the teacher. This server assumed that any messages received would follow a certain protocol (http protocol, followed by either n= or c= depending on what kind of message was being received, then the actual message). The client did not account for this and sent all messages protocol-less.

Impact: The server would attempt to determine the type of message from protocol that was not there, be unable to do so and would return garbage output as a result.  

Solution: The client had to be edited to include the needed protocols, and then the server and client could work together properly.

No comments:

Post a Comment