Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to find out the number of bytes written with conn.AsyncWrite()? #424

Open
gvitali opened this issue Nov 18, 2022 · 1 comment
Assignees
Labels
help wanted Extra attention is needed pending development Requested PR owner to improve code and waiting for the result proposal accepted Proposal has been accepted proposal Proposal for this repo question Further information is requested

Comments

@gvitali
Copy link

gvitali commented Nov 18, 2022

Please fill out the following system information before opening an issue:
OS: Ubuntu 20.04.5 LTS
Go version: go1.19.3 linux/amd64
gnet version: 2.1.1

What is your question about gnet?
conn.Write() returns the number of bytes written.
Is it possible to find out the number of bytes written with conn.AsyncWrite()?

@gvitali gvitali added help wanted Extra attention is needed question Further information is requested labels Nov 18, 2022
@panjf2000
Copy link
Owner

Not supported yet, but I think it's reasonable to implement this feature.

@panjf2000 panjf2000 added proposal Proposal for this repo pending development Requested PR owner to improve code and waiting for the result proposal accepted Proposal has been accepted labels Nov 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed pending development Requested PR owner to improve code and waiting for the result proposal accepted Proposal has been accepted proposal Proposal for this repo question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants