29 b2.set_log_level(b2.LogLevel.ERROR)
30 b2.set_log_level(b2.LogLevel.INFO)
33 reader = b2.register_module(
'DeSerializerPC')
34 sender = b2.register_module(
'Serializer')
37 reader.param(
'RecvPort', 35000)
39 sender.param(
'DestHostName',
'localhost')
40 sender.param(
'DestPort', 37000)
43 main = b2.create_path()
46 main.add_module(reader)
47 main.add_module(sender)