cewing/training.python_web — pull request #2 by ericchou-python (2013-01-10 05:53:13+00:00)
Title: week 1 homework and bonus homework

1. Test Result on VM
Server:
echou@block647043-lud:~$ ./sum_server_bonus.py
Connection from: 216.9.0.16 port 54436
first number is 10201, second number is 120391
sending result of 130592 back
Connection from: 216.9.0.16 port 54440
first number is 100, second number is 200
sending result of 300 back

Client:
$./sum_client_bonus.py 10201 120391
130592
$./sum_client_bonus.py 100 200
300
$

2. Test result from local machine:
Server:
$./sum_server.py
Connection from: 127.0.0.1 port 54441
first number is 10, second number is 20
sending result of 30 back
Connection from: 127.0.0.1 port 54442
first number is 400, second number is 300
sending result of 700 back

Client:
$./sum_client.py 10 20
30
$./sum_client.py 400 300
700
$

Hope I am doing this Git fork/pull operation correctly.