summaryrefslogtreecommitdiff
path: root/modules/connect
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2008-10-06 02:15:14 +0200
committerBruno Haible <bruno@clisp.org>2008-10-06 02:15:14 +0200
commit44656541e5be621a9430633f8c3a4fdea64d284d (patch)
tree90ec93c62c84290f82e85e51185e5e712ca00826 /modules/connect
parent0db6df9e0962ee1cf4ffd591f28a5d8fe0d23fc0 (diff)
downloadgnulib-44656541e5be621a9430633f8c3a4fdea64d284d.tar.gz
New modules 'accept', 'bind', 'connect', 'getpeername', 'getsockname', 'getsockopt', 'listen', 'recv', 'recvfrom', 'send', 'sendto', 'setsockopt', 'socket'.
Diffstat (limited to 'modules/connect')
-rw-r--r--modules/connect27
1 files changed, 27 insertions, 0 deletions
diff --git a/modules/connect b/modules/connect
new file mode 100644
index 0000000000..304e1076d8
--- /dev/null
+++ b/modules/connect
@@ -0,0 +1,27 @@
+Description:
+connect() function: connect a client socket.
+
+Files:
+lib/winsock.c
+
+Depends-on:
+sys_socket
+errno
+
+configure.ac:
+AC_REQUIRE([gl_HEADER_SYS_SOCKET])
+if test "$ac_cv_header_winsock2_h" = yes; then
+ AC_LIBOBJ([winsock])
+fi
+gl_SYS_SOCKET_MODULE_INDICATOR([connect])
+
+Makefile.am:
+
+Include:
+<sys/socket.h>
+
+License:
+LGPLv2+
+
+Maintainer:
+Paolo Bonzini, Simon Josefsson