function TCP_GetData(socket, numBytes, ByRef sData$)
Reads a given number of bytes from a socket