It is currently Tue Sep 25, 2018 6:42 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 
Offline
New User
New User

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


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

Joined: Fri May 12, 2006 6:51 pm
Posts: 1387
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:
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 OOP-BaseClass / OOP-BaseClassDispatch / Event-Designer /
PB v3.30 / v5.60 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace


Top
 Profile  
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