Skip to content

boost async_write_some可否用async_write替换 #224

Description

@chukeer

async_write_some不保证数据会写完,需要调用者在回调里判断数据是否发生完整

async_write保证在回调发生的时候数据全部写入tcp缓冲区,所以使用async_write是不是可以让代码更简洁一些

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions