Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nxrighthere authored Apr 10, 2020
1 parent cab0853 commit 183ac78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ address.SetAddress("::0", port);
uint listenSocket = server.CreateListenSocket(ref address);
uint pollGroup = server.CreatePollGroup();

StatusCallback status = (info, context) => {
StatusCallback status = (ref StatusInfo info, IntPtr context) => {
switch (info.connectionInfo.state) {
case ConnectionState.None:
break;
Expand Down Expand Up @@ -100,7 +100,7 @@ address.SetAddress("::1", port);

uint connection = client.Connect(ref address);

StatusCallback status = (info, context) => {
StatusCallback status = (ref StatusInfo info, IntPtr context) => {
switch (info.connectionInfo.state) {
case ConnectionState.None:
break;
Expand Down

0 comments on commit 183ac78

Please sign in to comment.