opendarkeden / server

42 stars 32 forks source link

Core: fix IP_t size to make party join work correctly #82

Closed tiancaiamao closed 2 years ago

tiancaiamao commented 2 years ago

close #75

typedef unsigned long IP_t;

On linux x64, sizeof unsigned long is 8 While on window, the client part, sizeof unsigned long is 4 This mismatch make the packet parsing error

Now I change the server part IP_t definition to unsigned int so it works well with the client.

hahacandy commented 2 years ago

I respect you thank you