HolyLib Wiki

CNetChan:SetFileSentCallback

  CNetChan:SetFileSentCallback( function callback )

Description

Sets the callback function for when a file has been fully sent to the other side of the channel.
Can be returned using CNetChan:GetFileSentCallback

Arguments

1function callback

The new callback function

Function argument(s):
1CNetChan channel -

The channel

2string fileName -

The sent file's name

3number transferID -

The transfer ID of the file

Function return argument(s):