mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-23 04:32:50 -04:00
Revert previous comment, I should be looking at async when more awake
This commit is contained in:
parent
52dc099198
commit
3cac6bcf8c
@ -98,7 +98,8 @@ namespace MCGalaxy.Network {
|
||||
}
|
||||
|
||||
static void SendCallback(IAsyncResult result) {
|
||||
TcpSocket s = (TcpSocket)result.AsyncState;
|
||||
// TODO: call EndSend, need to check if all data was sent or not!
|
||||
/*TcpSocket s = (TcpSocket)result.AsyncState;
|
||||
|
||||
try {
|
||||
int sent = s.socket.EndSend(result);
|
||||
@ -109,7 +110,7 @@ namespace MCGalaxy.Network {
|
||||
#endif
|
||||
} catch (ObjectDisposedException) {
|
||||
// socket was already closed by another thread.
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user