Updated server IP address (According to server test script)

pull/209/head
Przemek Wirkus 2014-03-13 16:02:09 +00:00
parent 662d4afaac
commit 19c41849e2
2 changed files with 4 additions and 4 deletions

View File

@ -16,10 +16,10 @@ limitations under the License.
""" """
import socket import socket
ECHO_SERVER_ADDRESS = "10.2.200.41" ECHO_SERVER_ADDRESS = "10.2.202.45"
ECHO_PORT = 7 ECHO_PORT = 7
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((ECHO_SERVER_ADDRESS, ECHO_PORT)) s.connect((ECHO_SERVER_ADDRESS, ECHO_PORT))
s.sendall('Hello, world') s.sendall('Hello, world')

View File

@ -15,8 +15,8 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
""" """
import socket import socket
ECHO_SERVER_ADDRESS = '10.2.200.41' ECHO_SERVER_ADDRESS = '10.2.202.45'
ECHO_PORT = 7 ECHO_PORT = 7
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)