ObjFW  Diff

Differences From Artifact [63006eb928]:

To Artifact [67cbf9c293]:


13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

#ifdef _WIN32
# define _WIN32_WINNT 0x0501
# include <winsock2.h>
#endif

/**
 * The OFTCPSocket class provides functions to create and use sockets.
 */
@interface OFSocket: OFStream
{
#ifndef _WIN32
	int		sock;
#else
	SOCKET		sock;







|







13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

#ifdef _WIN32
# define _WIN32_WINNT 0x0501
# include <winsock2.h>
#endif

/**
 * \brief A class which provides functions to create and use sockets.
 */
@interface OFSocket: OFStream
{
#ifndef _WIN32
	int		sock;
#else
	SOCKET		sock;