Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/l/n/lnst-1/lnst/Common/NetUtils.py   lnst(Download)
    while not finished:
        response = nl_socket.recv(getpagesize())
        parts = marshal.parse(response)
        for part in parts:
            if part["header"]["type"] in [NLMSG_DONE, NLMSG_ERROR]:

src/l/n/lnst-1/lnst/Common/ConnectionHandler.py   lnst(Download)
def recv_data(s):
    if isinstance(s, NetlinkSocket):
        marshaller = MarshalRtnl()
        msg = s.recv(16384)
        decoded_msg = marshaller.parse(msg)