Up map packet size to 1K from 256 bytes
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8244 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
baac0071c8
commit
2ea2c754eb
|
@ -2561,7 +2561,7 @@ BOOL NETsetupTCPIP(const char *machine)
|
||||||
// File Transfer programs.
|
// File Transfer programs.
|
||||||
/** Send file. It returns % of file sent when 100 it's complete. Call until it returns 100.
|
/** Send file. It returns % of file sent when 100 it's complete. Call until it returns 100.
|
||||||
* @TODO Needs to be rewritten. See issue #215. */
|
* @TODO Needs to be rewritten. See issue #215. */
|
||||||
#define MAX_FILE_TRANSFER_PACKET 256
|
#define MAX_FILE_TRANSFER_PACKET 1024
|
||||||
UBYTE NETsendFile(BOOL newFile, char *fileName, UDWORD player)
|
UBYTE NETsendFile(BOOL newFile, char *fileName, UDWORD player)
|
||||||
{
|
{
|
||||||
static int32_t fileSize,currPos;
|
static int32_t fileSize,currPos;
|
||||||
|
|
Loading…
Reference in New Issue