Feb

1

Wrapper classes for Winsock UDP sockets have been made and UDP packets have been successfully sent and received.

I’ve also managed to send packets reliably. Each time a reliable packet is sent it is stored and if the receiver doesn’t confirm that they’ve received the packet within a certain amount of time it is sent again. To test this I had the receiver randomly discard 95% of the packets to simulate packet loss but I still received the packets in the end.  If no confirmation has been received after the packet has been resent 10 times the application will stop resending them.

What I’m going to do now is make a system for notifying a higher application layer that a reliable packet wasn’t received so that it can handle this in an appropriate way. When that’s done I’m going to start working on a server and client.

Be Sociable, Share!
Comment Feed

No Responses (yet)

You must be logged in to post a comment.