I have programmed a simple TCP server with the winsock library in order to communicate with a machine that gives me data. The server and client connect without problem but afterwards my server hangs in the receive function. I don't know what can go wrong. Any Ideas?