Skip to content

Commit

Permalink
fix tcp server example, add client modify callback
Browse files Browse the repository at this point in the history
  • Loading branch information
alec1o authored Apr 24, 2024
1 parent f79be3e commit a4700f7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,11 @@ server.On.Error((exception) =>

server.On.Accept((client) =>
{
client.On.Modify((socket) =>
{
printf("modify client socket e.g Enable NoDelay");
});

client.On.Open(() =>
{
printf("client connected");
Expand Down

0 comments on commit a4700f7

Please sign in to comment.