socket programming

return jumps out of the function. in this case the function id loop(). the rest of the loop() function is not executed. the loop starts from beginning.