Search:
Login
Preferences
Help/Guide
About Trac
Wiki
Timeline
Roadmap
Browse Source
View Tickets
New Ticket
Search
Context Navigation
←
Previous Change
Next Change
→
Changeset
3f199fc
for
sock.h
View differences
inline
side by side
Show
lines around each change
Show the changes in full context
Ignore:
Blank lines
Case changes
White space changes
Timestamp:
2006-05-13T23:28:31Z (
18 years
ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
df70eafa
Parents:
0356ae3
Message:
Added a closesocket() that properly removes event handlers before closing a socket.
File:
1 edited
sock.h
(modified)
(
1 diff
)
Legend:
Unmodified
Added
Removed
sock.h
r0356ae3
r3f199fc
18
18
#define sock_make_blocking(fd) fcntl(fd, F_SETFL, 0)
19
19
#define sockerr_again() (errno == EINPROGRESS || errno == EINTR)
20
#ifndef EVENTS_LIBEVENT
20
21
#define closesocket(a) close(a)
22
#endif
21
23
#else
22
24
# include <winsock2.h>
Note:
See
TracChangeset
for help on using the changeset viewer.
Download in other formats:
Unified Diff
Zip Archive