Stefan Metzmacher
79c6572256
tsocket: let tstream_inet_tcp_connect_recv() optionally return the used local address
...
tstream_inet_tcp_connect_send() usually only gets no local port number
and it may use the wildcard address '0.0.0.0' or '::'.
tstream_inet_tcp_connect_recv() provides the used local address and port
which are used on the wire.
metze
2010-10-23 08:49:30 +02:00
Stefan Metzmacher
8494d09b89
Revert "lib/tsocket: sa_socklen is a macro on irix, so better use sasocklen"
...
This reverts commit 3d4fb698660381e650d7caeb5b7cff12847c0fb8.
This was wrong... The problem was in the caller, sa_len is a macro on irix
metze
2010-08-28 08:28:01 +02:00
Stefan Metzmacher
44b2a7941c
lib/tsocket: sa_socklen is a macro on irix, so better use sasocklen
...
metze
2010-08-27 13:00:26 +02:00
Volker Lendecke
f94039a8ea
s3: Fix a typo
2010-08-15 09:45:30 +02:00
Andreas Schneider
04327e2809
tsocket: Added the warning again to tsocket_address_bsd_sockaddr.
2010-05-05 09:25:21 +02:00
Andreas Schneider
fcb53828df
tsocket: Fixed the documentation of tsocket_address_bsd_sockaddr.
2010-05-03 15:55:34 +02:00
Stefan Metzmacher
2436ec2928
lib/tsocket: add tsocket_address_is_unix() function
...
metze
2010-04-27 13:00:24 +02:00
Stefan Metzmacher
e1596bbf27
lib/tsocket: add tsocket_address_is_inet() function
...
metze
2010-04-27 13:00:24 +02:00
Andreas Schneider
1983256c70
tsocket: Improve the tsocket_address_bsd_sockaddr documentation.
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-26 08:57:30 +01:00
Brad Hards
319d3bf9d9
Spelling fixes for tsocket API documentation.
...
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2010-02-22 21:45:33 +01:00
Kai Blin
88099bcc93
tsocket: Fix the description of tstream_writev_queue_send/recv
2010-01-28 11:16:24 +01:00
Kai Blin
9184f524f0
tsocket: Fix description for tstream_readv_pdu_queue_send/recv
2010-01-28 11:11:33 +01:00
Andreas Schneider
574f77f89e
tsocket: Added complete doxygen documentation.
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-01-11 11:22:59 +01:00
Andreas Schneider
ab04dd3be7
tsocket: Fixed typo in LGPL header.
2009-12-15 23:34:22 +01:00
Stefan Metzmacher
edbf2caa6f
tsocket: add tsocket_address_bsd_sockaddr() and tsocket_address_bsd_from_sockaddr()
...
metze
2009-12-15 23:34:22 +01:00
Stefan Metzmacher
9b5d1e9e35
tsocket: remove prototype of non-existing tsocket_address_inet_set_broadcast()
...
metze
2009-11-03 18:14:23 +01:00
Stefan Metzmacher
6ac61e6707
tsocket: add tstream_readv_pdu_queue_send/recv()
...
metze
2009-05-01 17:42:01 +02:00
Stefan Metzmacher
eb723c2061
tsocket: add tstream_writev_queue_send/recv()
...
metze
2009-05-01 17:42:00 +02:00
Stefan Metzmacher
a0830f4cb9
tsocket: add tstream_readv_pdu_send/recv()
...
metze
2009-05-01 17:41:56 +02:00
Stefan Metzmacher
ee6d796c19
tsocket: add tstream implementation for bsd sockets (inet and unix)
...
metze
2009-05-01 17:41:55 +02:00
Stefan Metzmacher
8a090c4b8b
tsocket: add tstream_context infrastructure similar to tdgram_context
...
metze
2009-05-01 17:41:53 +02:00
Stefan Metzmacher
182a4b30de
tsocket: rename tdgram_unix_dgram_socket() => tdgram_unix_socket()
...
metze
2009-05-01 17:41:38 +02:00
Stefan Metzmacher
9dbb535aa5
tsocket: remove tsocket_context related stuff
...
It will be replaced by tdgram_context and tstream_context.
metze
2009-05-01 17:38:21 +02:00
Stefan Metzmacher
3bbad34a02
tsocket: remove DGRAM support from tsocket_context
...
metze
2009-04-02 21:54:08 +02:00
Stefan Metzmacher
85742dbc06
tsocket: add tdgram_sendto_queue_send/recv()
...
metze
2009-04-02 21:53:59 +02:00
Stefan Metzmacher
8d98070a9f
tsocket: split out a smaller tdgram_context abstraction
...
The idea is to have a tdgram and a tstream abstraction
which only provide tevent_req based io functions.
metze
2009-04-02 21:53:03 +02:00
Stefan Metzmacher
a27c6eb8e2
lib/tsocket: add tsocket_readv_send/recv()
...
metze
2009-03-19 16:25:56 +01:00
Stefan Metzmacher
6c8bd1005d
lib/tsocket: add tsocket_writev_queue_send/recv()
...
metze
2009-03-19 16:25:55 +01:00
Stefan Metzmacher
2e44ceaea8
lib/tsocket: add tsocket_writev_send/recv()
...
metze
2009-03-19 16:25:55 +01:00
Stefan Metzmacher
a140823cc9
lib/tsocket: add tsocket_connect_send/recv()
...
metze
2009-03-19 16:25:54 +01:00
Stefan Metzmacher
4002b7bdc1
lib/tsocket: add tsocket_sendto_queue_send/recv()
...
metze
2009-03-19 16:25:54 +01:00
Stefan Metzmacher
9ed7a45c88
lib/tsocket: add tsocket_sendto_send/recv()
...
metze
2009-03-19 16:25:54 +01:00
Stefan Metzmacher
ccfd6a6e39
lib/tsocket: add tsocket_recvfrom_send/recv()
...
metze
2009-03-19 16:25:53 +01:00
Stefan Metzmacher
6c88d61bdd
lib/tsocket: add an implementation for bsd style sockets.
...
metze
2009-03-19 16:25:53 +01:00
Stefan Metzmacher
2e0e416676
lib/tsocket: add generic socket abstraction layer
...
This will replace source4/lib/socket/.
metze
2009-03-19 15:01:12 +01:00