Skip to content

Commit dfc0f67

Browse files
committed
typos found in class!!!
1 parent 5841d63 commit dfc0f67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/presentations/session01.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,7 @@ message::
954954

955955
>>> import socket
956956
>>> client_socket = socket.socket(
957-
... socket.AF_INET
957+
... socket.AF_INET,
958958
... socket.SOCK_STREAM,
959959
... socket.IPPROTO_IP)
960960

@@ -990,7 +990,7 @@ Receive and Respond
990990
Back in your server interpreter, go ahead and receive the message from your
991991
client::
992992

993-
>>> conn.receive(32)
993+
>>> conn.recv(32)
994994
'Hey, can you hear me?'
995995

996996
Send a message back, and then close up your connection::

0 commit comments

Comments
 (0)