If this is the way, is there an example as simple as: "NetworkClient.pb / NetworkServer.pb", found in the purebasic help?
If I'm wrong, what would be the command?
I took a look at some topics here, including the transfer limit. But it seems to be something else.
Gracias!
traduzido por google tradutor.
como transferir arquivos pela rede com sendnetworkdata/receivnetworkdata
Se é que este é o jeito, existe um exemplo tão simples quanto: "NetworkClient.pb/NetworkServer.pb", que se encontram na ajuda do purebasic?
Se eu estou errado, qual seria o comando?
Dei uma olhada em alguns tópicos aqui, inclusive sobre limite de tqamanho para transferência. Mas parece se tratar de outra coisa.
Gracias!
How to upload files with sendnetworkdata/receivnetworkdata?
Re: How to upload files with sendnetworkdata/receivnetworkda
There's something more to consider.
In principle, you have to add your own protocol to the TCP protocol.
The block size is limited with TCP and you must manage yourself that the data arrives over 64kB completely in the correct order.
OSI model:
https://simple.wikipedia.org/wiki/OSI_model
TCP model:
https://en.wikipedia.org/wiki/Transmiss ... l_Protocol
https://simple.wikipedia.org/wiki/Trans ... l_Protocol
You can create a own application-layer...
Examples (very complex):
Link: viewtopic.php?f=12&t=66075
In principle, you have to add your own protocol to the TCP protocol.
The block size is limited with TCP and you must manage yourself that the data arrives over 64kB completely in the correct order.
OSI model:
https://simple.wikipedia.org/wiki/OSI_model
TCP model:
https://en.wikipedia.org/wiki/Transmiss ... l_Protocol
https://simple.wikipedia.org/wiki/Trans ... l_Protocol
You can create a own application-layer...
Examples (very complex):
Link: viewtopic.php?f=12&t=66075
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive