ObjFW  Diff

Differences From Artifact [57b1d6b16e]:

To Artifact [ae35beffef]:


22
23
24
25
26
27
28


29

30
31
32
33
34
35
36

#ifndef _WIN32
# include <sys/types.h>
# include <sys/socket.h>
#endif

#import "OFStreamSocket.h"


#import "OFExceptions.h"


#ifndef INVALID_SOCKET
# define INVALID_SOCKET -1
#endif

#ifdef _WIN32
# define close(sock) closesocket(sock)







>
>
|
>







22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39

#ifndef _WIN32
# include <sys/types.h>
# include <sys/socket.h>
#endif

#import "OFStreamSocket.h"

#import "OFNotConnectedException.h"
#import "OFReadFailedException.h"
#import "OFWriteFailedException.h"

#ifndef INVALID_SOCKET
# define INVALID_SOCKET -1
#endif

#ifdef _WIN32
# define close(sock) closesocket(sock)