taiscremaschi / 42_Irc

2 stars 2 forks source link

Error Handle #36

Closed paulasbia closed 3 months ago

paulasbia commented 3 months ago

Context

Error returns for getaddrinfo() and getnameinfo()

image

Question:

Why we did not use gai_strerror() function here? image

image

Where?

Client.cpp Line 52

Pac4games commented 3 months ago

While the gai_strerror() function would serve our purpose better, it is an external function not listed in the project's subject, meaning we are most likely not allowed to use it. As a result, we had to "work our way around" that limitation.