Skip to content

Conversation

@kroening
Copy link
Collaborator

Windows does not have netdb.h; must use windows.h instead.


/* FUNCTION: gethostent */

#include <netdb.h>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing the Windows variant?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did look this up, but Windows does not appear to have gethostent.

@kroening kroening force-pushed the gethostbyname-windows branch from ec5a9e5 to 74c74c5 Compare August 30, 2018 13:43
@kroening kroening force-pushed the gethostbyname-windows branch from 74c74c5 to 8be9671 Compare August 30, 2018 13:44
@kroening kroening merged commit 62e24f1 into develop Aug 30, 2018
@kroening kroening deleted the gethostbyname-windows branch August 30, 2018 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants