[Tutorial] - Connecting to a Third Party Socket Server

Hi, I’ve been following this code, and I have found that when my c# server reads information from the client, it crashes.

When the server sends information to the client;

The message is -1.#

Any ideas why :d/