-
Notifications
You must be signed in to change notification settings - Fork 70
Open
Description
At first I would like to say thank you, great job.
Unfortunately, I have a problem with your code. When I use it in a loop, the program creates a new process for the socket each time. After a few times the program hangs and crashes a thread in my program that works with this code. I even tried to use the close () and socket() + close() outside loop functions (crashes too). The program crashes after a few passes of the loop (sometimes at beginning, not always at the same time). I tried to debug the code (with prinf() before and after every functions) and the program crashes at different times. Sometimes read, sometimes write. Maybe you have an idea how to solve it?
Metadata
Metadata
Assignees
Labels
No labels