7 lines
111 B
Python
7 lines
111 B
Python
|
from pynng import Pair0
|
||
|
|
||
|
s1 = Pair0()
|
||
|
|
||
|
while True:
|
||
|
s1.listen('tcp://172.16.0.1:28442')
|
||
|
print(s1.recv())
|