<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def bind_and_listen_on_socket(socket_name, accept_callback):
 """ Return socket name. :param accept_callback: Callback is called with a `PipeConnection` as argument. """

    if is_windows():
        from .win32_server import bind_and_listen_on_win32_socket
        return bind_and_listen_on_win32_socket(socket_name, accept_callback)
    else:
        from .posix import bind_and_listen_on_posix_socket
        return bind_and_listen_on_posix_socket(socket_name, accept_callback)