Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/Client/World/Network/WorldSocket.cs b/Client/World/Network/WorldSocket.cs
- index 6c3df10..0d6cbd8 100644
- --- a/Client/World/Network/WorldSocket.cs
- +++ b/Client/World/Network/WorldSocket.cs
- @@ -8,6 +8,7 @@ using Client.Authentication;
- using Client.UI;
- using Client.Chat;
- using Client.Chat.Definitions;
- +using System.Diagnostics;
- namespace Client.World.Network
- {
- @@ -74,6 +75,14 @@ namespace Client.World.Network
- private void BeginRead(AsyncCallback callback, object state = null)
- {
- + var caller = new StackTrace(1, true).GetFrame(0);
- + Game.UI.LogLine
- + (
- + string.Format("BeginRead @{0} for {1} bytes, callback {2}, from {3}:{4}",
- + Index, Remaining, callback.Method.Name, caller.GetFileName(), caller.GetFileLineNumber()),
- + LogLevel.Debug
- + );
- +
- this.connection.Client.BeginReceive
- (
- ReceiveData, Index, Remaining,
Add Comment
Please, Sign In to add comment