当SendAsync完成? [英] When SendAsync is completed?

查看:210
本文介绍了当SendAsync完成?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


有没有一种方法,以确保所有消息字节派与SendAsync,有派提供了此方法的回调凭什么承担所有的消息没有任何信息?而最新消息的最大大小,我们可以把使用插座上的发送操作?是否有任何限制存在,或者我们可以发送数据一样大,我们需要??

Hi
Is there a way to make sure all message bytes had sent with SendAsync, there is no information provided in the callback of this method so how can assume all the message had sent ?? And whats the maximum size of message we can send using socket in on Send operation ? is there any limitation exists or we can send data as large as we need ??

感谢您明确答复;)

推荐答案

如果回调被称为没有错误指示则消息已发送。

If the callback is called without an error indication then the message has been sent.

这篇关于当SendAsync完成?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆