1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
Commit Graph

7 Commits

Author SHA1 Message Date
Christian Ambach
0dfc33026e lib/socket_wrapper: writev returns ssize_t, not int 2012-08-06 18:07:52 +02:00
Andrew Tridgell
63e5b395d0 socket-wrapped: added wrappers for dup() and dup2()
The Samba4 standard process model uses dup() on incoming sockets as an
optimisation (it makes select() a tiny bit faster when used).

Adding dup() to socket wrapper allows us to use the standard process
model in selftest

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-08-12 09:38:26 +02:00
Stefan Metzmacher
c9ae810209 socket_wrapper: replace recvmsg() correctly
metze
2011-03-03 22:57:26 +01:00
Jeremy Allison
5ce12a0565 Add read() to socketwrapper. Metze please check.
Jeremy.
2009-09-07 20:31:01 -07:00
Andrew Bartlett
8603985575 Add support for sendmsg() in socket_wrapper
This is required because the deferred connect code skips the connect()
until sending the packet, but unless we catch this call, the connect()
never happens.

Andrew Bartlett
2009-05-26 12:37:09 +10:00
Stefan Metzmacher
143b222546 socket_wrapper: wrap readv() and writev()
metze
2009-03-10 08:15:48 +01:00
Jelmer Vernooij
94855cd692 Move common libraries from root to lib/. 2008-09-17 14:11:12 +02:00