It is currently Sat Mar 06, 2021 7:11 pm

All times are UTC + 1 hour

Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: How to upload files with sendnetworkdata/receivnetworkdata?
PostPosted: Fri Jul 06, 2018 3:12 pm 

Joined: Mon Mar 19, 2018 10:03 pm
Posts: 17
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.


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.


Reply with quote  
 Post subject: Re: How to upload files with sendnetworkdata/receivnetworkda
PostPosted: Sun Jul 08, 2018 11:14 am 
User avatar

Joined: Fri May 12, 2006 6:51 pm
Posts: 2888
Location: Germany
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:
TCP model: ... l_Protocol ... l_Protocol

You can create a own application-layer...

Examples (very complex):
Link: viewtopic.php?f=12&t=66075

My Projects ThreadToGUI / OOP-BaseClass / OOP-BaseClassDispatch / EventDesigner V3
PB v3.30 / v5.70 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace

Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye