Ben Noordhuis
|
c89a75f5a2
|
unix: fix compiler warning in kqueue.c, tcp.c, udp.c
Include <unistd.h>, it contains the definition of close().
|
2011-09-28 00:57:20 +02:00 |
|
Ben Noordhuis
|
1cca230d76
|
Merge remote-tracking branch 'origin/v0.6'
|
2012-01-23 13:27:47 +01:00 |
|
Dan VerWeire
|
497b1ecd00
|
unix: add uv_udp_set_broadcast() and uv_udp_set_multicast_ttl()
|
2012-01-21 03:06:47 +01:00 |
|
Dan VerWeire
|
b674187c38
|
unix: set SO_REUSEADDR before binding
|
2012-01-21 03:06:43 +01:00 |
|
Ben Noordhuis
|
454e0212b0
|
unix: clean up udp read/write watchers
|
2012-01-18 20:19:59 +01:00 |
|
Ben Noordhuis
|
28b0867f03
|
unix: clean up udp shutdown sequence
|
2012-01-18 20:18:57 +01:00 |
|
Ben Noordhuis
|
0e6e4abedc
|
unix: fix udp recv_start refcount
Calling uv_udp_recv_start() should not bump the event loop's reference count.
Fixes failing test udp_ref2.
|
2012-01-14 01:44:27 +01:00 |
|
Ben Noordhuis
|
52fba1a38f
|
unix: fix compiler warning
|
2012-01-12 16:00:31 +01:00 |
|
Shigeki Ohtsu
|
ba52023ef3
|
Fix missing increments of loop->counters
|
2011-12-12 18:01:26 +01:00 |
|
Roman Shtylman
|
a3d1f6fd6f
|
add uv_udp_set_membership for unix multicast support
- test-udp-multicast-join tests that multicast packets can be received
- stub src/win/udp.c until support added
|
2011-10-11 21:25:20 +02:00 |
|
Erick Tryzelaar
|
4c329060ca
|
unix,win: Start unifying shared bind code.
|
2011-10-04 16:46:39 -07:00 |
|
Erick Tryzelaar
|
23796d208c
|
Fixes #76. Unify OS error reporting
As a nice fringe benefit, this also shaves a word
off of a windows TCP handle by replacing "uv_err_t
bind_error" with "int bind_error".
|
2011-09-27 19:05:33 -07:00 |
|
Erick Tryzelaar
|
1d7e61fafa
|
unix,win: Check bind receives right socket type
|
2011-09-27 19:05:33 -07:00 |
|
Ben Noordhuis
|
01441ab02f
|
unix: fix close() of potentially uninitialized fd
|
2011-09-25 02:49:21 +02:00 |
|
Bert Belder
|
360f4119e4
|
Make getsockname/getpeername handle uninitialized sockets better
|
2011-09-04 19:18:56 +02:00 |
|
Bert Belder
|
12b01e95f9
|
Specialize uv_xxx_getsockname, add uv_tcp_getpeername
|
2011-09-04 04:49:13 +02:00 |
|
Ryan Dahl
|
58461d5ae7
|
split out unix's udp source
|
2011-08-31 11:23:29 -07:00 |
|