DescentDevelopers / Descent3

Descent 3 by Outrage Entertainment
GNU General Public License v3.0
2.73k stars 231 forks source link

fix PXO chat lobby connection failure on Linux/Mac #432

Closed notimaginative closed 3 weeks ago

notimaginative commented 3 weeks ago

Pull Request Type

Description

On Linux & Mac connect() returns EINPROGRESS when the socket is set to non-blocking. This return value was not checked for with the PXO chat lobby connection, which caused the connection to ultimately fail. This change simply adds that missing value check.

Related Issues

Screenshots (if applicable)

Checklist

Additional Comments