diff options
author | Memphiz <memphis@machzwo.de> | 2011-08-29 18:56:05 +0200 |
---|---|---|
committer | Memphiz <memphis@machzwo.de> | 2011-08-29 18:56:05 +0200 |
commit | 8c579e41f448b056022e282f2c6c843b13cca57c (patch) | |
tree | 6df4addf2eb1e3d7030bb600c0077eadb88c0d69 | |
parent | 4963cfcd37ca459bc88060cfddca77c9a98c335a (diff) |
[osx/ios] - add tcp socket options and lock dir to smb - for testing
-rw-r--r-- | xbmc/filesystem/FileSmb.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xbmc/filesystem/FileSmb.cpp b/xbmc/filesystem/FileSmb.cpp index a10190bf24..8f9468210c 100644 --- a/xbmc/filesystem/FileSmb.cpp +++ b/xbmc/filesystem/FileSmb.cpp @@ -128,6 +128,8 @@ void CSMB::Init() #if defined(TARGET_DARWIN) fprintf(f, "\tmax protocol = smb2\n"); + fprintf(f, "\tsocket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536\n"); + fprintf(f, "\tlock directory = %s/.smb/\n", getenv("HOME")); #endif // set wins server if there's one. name resolve order defaults to 'lmhosts host wins bcast'. // if no WINS server has been specified the wins method will be ignored. |