General question to receivenetworkdata() Command

Everything else that doesn't fall into one of the other PB categories.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by tranquil.

Hi all.

One little question to fred and to all others:

If I send 20 Datapackages using the Sendnetworkcommand the TCP/IP Protocol of windows can couse that some of these 20 Datapackages will be send with less Datapackages if the Buffer is big enough. So on the other side it seems that datas got lost, but its not.

Fred, if the SendNetworkData and ReceiveNetworkData are only a replacement of Recv_() and send_() the send datas are possible not receive correctly on the other side. Its a hasle to get the other Datas, in that case, please can you add the feature to send "real" Packages in the next network-lib. Like Paul said to me, Blitz seems to do this - collecting and recovering the Packages and split it up to their original ones.
Possible this can be done by an optional flag on you commands to keep the compatiblity for send_ and recv_ for thouse people who want to restore their data themselfe.

Sorry for bad english, hope everyone know what I mean. :)

Thanks for any help an advance!

Mike

Tranquilizer/ Secretly!
Registred PureBasic User