I'm going through the example code in https://learn.microsoft.com/en-us/dotnet/api/system.net.sockets.socketasynceventargs?redirectedfrom=MSDN&view=netframework-4.8 to understand it and get it working, however when i copied it over to try it out, under the Init() function
readWriteEventArg.UserToken = new AsyncUserToken();
the AsyncUserToken(); type or namespace cannot be found. I've created classes for the SetBuffer(Byte[], Int32, Int32) method and the SocketAsyncEventArgs constructor which the SocketAsyncEventArgs class both uses, but am stuck on finding this AsyncUserToken();