SwiftSocket
SwiftSocket copied to clipboard
maximum send size
I'm using SwiftSocket to send data from iOS app to Python server. If I use file having small dimension it works quite good and I receive properly the file on Python side. But if the size of the file to send exceeds 96Kb, the process fails. Any idea about why that happens?
I've tried with an image in .zip format. I encode it as base64 and send it using:
client.send(data:
strBase64Data)
For small images it works. If the size is more than 96Kb the transfer doesn't succede. Could that be a problem on Python side or a setting on Swift? Thanks!
I'm having the same issue, but with a 132kb limit when sending raw bytes. Someone on Stack Overflow posted about the same issue with SwiftSocket, but there were no responses.
Any idea on how to increase the limit?
I am also having this issue. Can someone suggest another socket to use or a workaround?