You're using blocking sockets, so read will not terminate until the connection is closed from the other end, or until 128 octets are read. I suppose the other side is sending data less than 128 octets ...
I'm trying to write a program that connects to a server on my windows computer (simple enough) and I'm doing it in C++ with wxwindows as the gui toolkit (not a big deal). Anyway I want to write this ...
Household electronics make our lives a lot easier, but they can also make things a lot messier because of all the cords and cables. A product called Side Socket promises to help solve that problem by ...