Skip to content

Commit

Permalink
Merge pull request #8 from semuserable/patch-chapter3
Browse files Browse the repository at this point in the history
[Typos] Chapter 3. Blocking nature of Accept. Console.WriteLine will not compile
  • Loading branch information
cwoodruff authored Dec 16, 2024
2 parents bf35df4 + 614ea8a commit 1fc3abb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Chapter03/chapter03.md
Original file line number Diff line number Diff line change
Expand Up @@ -1026,7 +1026,7 @@ The Accept method, when invoked on a server socket, blocks the current thread of
```csharp
Socket clientSocket = serverSocket.Accept();

Console.WriteLine("Client connected from clientSocket.RemoteEndPoint.ToString());
Console.WriteLine($"Client connected from {clientSocket.RemoteEndPoint.ToString()}");
```

This new socket (clientSocket in the example) serves as the communication channel between the server and the specific client.
Expand Down

0 comments on commit 1fc3abb

Please sign in to comment.