Skip to content

Commit 183ac78

Browse files
authored
Update README.md
1 parent cab0853 commit 183ac78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ address.SetAddress("::0", port);
3434
uint listenSocket = server.CreateListenSocket(ref address);
3535
uint pollGroup = server.CreatePollGroup();
3636

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

101101
uint connection = client.Connect(ref address);
102102

103-
StatusCallback status = (info, context) => {
103+
StatusCallback status = (ref StatusInfo info, IntPtr context) => {
104104
switch (info.connectionInfo.state) {
105105
case ConnectionState.None:
106106
break;

0 commit comments

Comments
 (0)