[pypy-svn] r26208 - pypy/dist/pypy/rpython/rctypes/socketmodule
dialtone at codespeak.net
dialtone at codespeak.net
Mon Apr 24 03:53:01 CEST 2006
Author: dialtone
Date: Mon Apr 24 03:52:58 2006
New Revision: 26208
Modified:
pypy/dist/pypy/rpython/rctypes/socketmodule/ctypes_socket.py
Log:
(ericvrp, dialtone) added accept support to ctypes_socket.py
Modified: pypy/dist/pypy/rpython/rctypes/socketmodule/ctypes_socket.py
==============================================================================
--- pypy/dist/pypy/rpython/rctypes/socketmodule/ctypes_socket.py (original)
+++ pypy/dist/pypy/rpython/rctypes/socketmodule/ctypes_socket.py Mon Apr 24 03:52:58 2006
@@ -104,3 +104,7 @@
inet_aton = socketdll.inet_aton
inet_aton.argtypes = [c_char_p, POINTER(in_addr)]
inet_aton.restype = c_int
+
+socketaccept = socketdll.accept
+socketaccept.argtypes = [c_int, POINTER(sockaddr), socklen_t]
+socketaccept.restype = c_int
More information about the Pypy-commit
mailing list