ObjFW  Check-in [60be8437d7]

Overview
Comment:OFUDPSocket: Use SOCKET on Win32
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 60be8437d705ebc170d5fd2b4860d02ab87032832a2fee6f18f44d55ac402361
User & Date: js on 2014-02-12 03:17:12
Original User & Date: js on 2014-02-12 03:17:13
Other Links: manifest | tags
Context
2014-02-12
03:17
PLATFORMS.md: Add Windows 8.1 and MinGW-w64 check-in: 9496eea33b user: js tags: trunk
03:17
OFUDPSocket: Use SOCKET on Win32 check-in: 60be8437d7 user: js tags: trunk
03:17
Call FreeEnvironmentStringsW on correct pointer check-in: f82406c3fd user: js tags: trunk
Changes

Modified src/OFUDPSocket.h from [7ca9ec0aa8] to [ba6a2a7484].

79
80
81
82
83
84
85



86

87
88
89
90
91
92
93
 *	    so context can be associated with a socket. Using a socket in more
 *	    than one thread at the same time is not thread-safe, even if copy
 *	    was called to create one "instance" for every thread!
 */
@interface OFUDPSocket: OFObject <OFCopying, OFReadyForReadingObserving,
    OFReadyForWritingObserving>
{



	int _socket;

}

/*!
 * @brief Returns a new, autoreleased OFUDPSocket.
 *
 * @return A new, autoreleased OFUDPSocket
 */







>
>
>
|
>







79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
 *	    so context can be associated with a socket. Using a socket in more
 *	    than one thread at the same time is not thread-safe, even if copy
 *	    was called to create one "instance" for every thread!
 */
@interface OFUDPSocket: OFObject <OFCopying, OFReadyForReadingObserving,
    OFReadyForWritingObserving>
{
#ifndef _WIN32
	int    _socket;
#else
	SOCKET _socket;
#endif
}

/*!
 * @brief Returns a new, autoreleased OFUDPSocket.
 *
 * @return A new, autoreleased OFUDPSocket
 */