def set_l2cap_options (sock, options):
<EOL>s = struct.pack ("<STR_LIT>", *options)<EOL>sock.setsockopt (SOL_L2CAP, L2CAP_OPTIONS, s)<EOL>
set_l2cap_options (sock, options)

    Sets L2CAP options for the specified L2CAP socket.
    The option list must be in the same format supplied by
    get_l2cap_options().