Jim's
Tutorials

Spring 2018
course
site

Nate's Work

>>> python client.py
hello, lets play a guessing game, pick a number 1-6
type your guess: 1
Guess 1: 1 Not correct!

type your guess: 2
Guess 2: 2 Not correct!

type your guess: 4
Guess 3: 4 Not correct!

type your guess: 5
Guess 4: 5 Not correct!

type your guess: 6
Guess 5: 6 Not correct!

type your guess: 3
You guessed correct! the number was 3, closing connection
>>> python server.py
Socket successfully created
socket binded to 12345
socket is listening
the number is 3
https://cs.marlboro.college /cours /spring2018 /jims_tutorials /web_tech /apr18
last modified Mon June 24 2024 12:11 am

attachments [paper clip]

  last modified size
TXT client.py Mon Jun 24 2024 12:11 am 814B
TXT server.py Mon Jun 24 2024 12:11 am 1.4K