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

change function signature sendall #5

Closed
zwetan opened this issue Jun 21, 2015 · 1 comment
Closed

change function signature sendall #5

zwetan opened this issue Jun 21, 2015 · 1 comment

Comments

@zwetan
Copy link
Member

zwetan commented Jun 21, 2015

before

public function sendall( socket:int, bytes:ByteArray, flags:int = 0, buffer:uint = 0 ):int

after

public function sendall( socket:int, bytes:ByteArray, flags:int = 0, buffer:uint = 8192 ):Number

set the default buffer to 8192 bytes and return value to Number to support ByteArray max value of 4 GB

@zwetan zwetan added this to the 0.4.2 milestone Jan 29, 2016
@zwetan zwetan added the CLIB The C API label Mar 23, 2016
@zwetan
Copy link
Member Author

zwetan commented Jul 24, 2016

done

sendall( socket:int, bytes:ByteArray, buffer:uint = 0, flags:int = 0 ):Number

@zwetan zwetan closed this as completed Jul 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant