You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pe scheletul de cod cand rezolvam exercitiul, primul mesaj va fi mereu: Received from IP 0.0.0.0 and port 0: "mesajul". Isi revine ulterior dupa primul input.
The text was updated successfully, but these errors were encountered:
It seems like there might be an issue with the sender_addr_len variable. In the recvfrom function, you are passing the address of sender_addr_len to store the size of the sender's address. However, it looks like that sender_addr_len variable is not initialized before calling recvfrom. This could lead to unpredictable behavior and might be the reason why you are not getting the correct IP address.
To fix this issue, you should initialize sender_addr_len before using it. Add the following line before the recvfrom function:
I assigned this issue to @Alex-deVis since he is the owner of the code.
He might help you. Otherwise, @Alex-deVis , please make sure we have a fix for this problem.
Pe scheletul de cod cand rezolvam exercitiul, primul mesaj va fi mereu: Received from IP 0.0.0.0 and port 0: "mesajul". Isi revine ulterior dupa primul input.
The text was updated successfully, but these errors were encountered: