def bind_and_listen_on_win32_socket(socket_name, accept_callback):
assert callable(accept_callback)<EOL>socket_name = r'<STR_LIT>'<EOL>pipes = [PipeInstance(socket_name, pipe_connection_cb=accept_callback)<EOL>for i in range(INSTANCES)]<EOL>for p in pipes:<EOL><INDENT>ensure_future(p.handle_pipe())<EOL><DEDENT>return socket_name<EOL>
:param accept_callback: Called with `Win32PipeConnection` when a new
    connection is established.