Up |
_networkCBread
Define a callback when a content is read. This can be useful with an upload.
Prototype :
fun [ObjNetwork fun [ObjNetwork u0 I I] u1 u0] ObjNetwork
- ObjNetwork : a network object created with _networkCreate.
- fun [ObjNetwork u0 I I] u1 : a callback. The supplemental arguments are :
- I : the number of read block
- I : the number of bytes read
- u0 : an user parameter, at your convenience
Return : ObjNetwork the same object.
See also :
Example :