我正在 Windows Store (8\Metro\RT) 应用程序中创建套接字客户端 (TCP),并且我正在尝试使用以下代码发送数据:
await _socket.ConnectAsync(new HostName(ipAddress), port);
_dataWriter = new DataWriter(_socket.OutputStream);
_dataWriter.WriteBytes(bytes);
await _dataWriter.StoreAsync();
//Does execution in this line mean that bytes were sent
//and TCP packet acknowledge has been received?
所以问题在评论中。