Beispiel #1
0
def new(ctx, port):
    """Create a new beacon on a certain UDP port
    """
    return ffi.gc(C.zbeacon_new(ctx, port), destroy)