Hi,so glad to receiver your reply.
When I run ' src/experiments/test.py local --schemes "mycc" -t 10 ',I think it work well, but when I draw the graphs it shows that
" Warning: "tunnel_graph /home/pantheon/src/experiments/data/democc_datalink_run1.log" had duration 1.96 seconds but should have been around 10 seconds. Ignoring this run. "
And the method I import my cc is that I add my excutable client and serve file into /third_party. My wrapper file is like this:
def main():
args = arg_parser.receiver_first()
sys.stderr.write('[demo] start demo.py, args = %s\n' % args)
cc_repo = path.join(context.third_party_dir, 'demo')
send_dir = path.join(cc_repo, 'client')
recv_dir = path.join(cc_repo, 'server')
send_src = path.join(send_dir, 'client')
recv_src = path.join(recv_dir, 'server')
if args.option == 'receiver':
cmd = [recv_src, args.port]
sys.stderr.write('[demo] cmd to run receiver: %s\n' % cmd)
check_call(cmd)
return
if args.option == 'sender':
cmd = [send_src, args.ip, args.port]
sys.stderr.write('[demo] cmd to run sender: %s\n' % cmd)
check_call(cmd)
return
And without using pantheon-tunnel, I run my client and server well when using local terminal (client sends packets, and server responses ack...). So I suspect if my demo CC doesn't match the tunnel.
I want to know whether the tunnel server can response the packets through the tunnel to client side.
Best
Carlos