Commit f569e13a authored by Andreas Schmidt's avatar Andreas Schmidt

Receive returns IP string instead of bytes.

parent feadf321
Pipeline #2242 failed with stages
in 1 minute and 13 seconds
......@@ -90,7 +90,7 @@ cdef extern from "util/mpsc_queue.c":
pass
cdef sockaddr_to_addr_and_port(sockaddr_in addr):
return (cprrt.PrrtSocket_inet_ntoa(&addr.sin_addr), cprrt.PrrtSocket_ntohs(addr.sin_port))
return (cprrt.PrrtSocket_inet_ntoa(&addr.sin_addr).decode("utf8"), cprrt.PrrtSocket_ntohs(addr.sin_port))
class PrrtCodingConfiguration:
def __init__(self, n, k, n_cycle=None):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment