I am trying to store the data received over socket while executing other functions simultaneously.
The way the code works is that it waits to receive a data over socket. If I want to receive the next data frame, I need to call recv()
again which basically means that my program will stop at socket code and can not move ahead.
Is there a way to receive the data and execute other lines of code simultaneously?