Restored from previous forum. Originally posted by ricardo.
1.- IP command that returns easily the IP and port used by the app
2.- A NON blocking send or receive files with percent returned or bytes sended
Thanks : )
NetWork wishes
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by ricardo.
Hi Fred !!
. About 3 lines...
[/quote]
But the FileSend or FileReceive command blocks the app until it ends...
what im asking is that THOSE commands be updated.
Or maybe i dont understand your answer
Hi Fred !!
Build your own routine2.- A NON blocking send or receive files with percent returned or bytes sended

[/quote]
But the FileSend or FileReceive command blocks the app until it ends...
what im asking is that THOSE commands be updated.
Or maybe i dont understand your answer

-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by tranquil.
Use SendNetworkData ans receivenetworkdata instead.
Cheers
Mike
Tranquilizer/ Secretly!
http://www.secretly.de
Registred PureBasic User
There are several examples in the forum to get all your IPs. Nice would be to get the Gateway IP to the Internet. But what do you mean with Port?? You should know on which port your application is listening too or!?1.- IP command that returns easily the IP and port used by the app
Try it in a threaded Procedure if you want to use the PB Commands but I would suggest you to use your own routines to send/receive files through the network.2.- A NON blocking send or receive files with percent returned or bytes sended
Use SendNetworkData ans receivenetworkdata instead.
Cheers
Mike
Tranquilizer/ Secretly!
http://www.secretly.de
Registred PureBasic User
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by ricardo.
I dont see the point to have a command that are "not recommendable" if the command could be improved
The idea behind server sending data and files are great and simple to use, just with that small change it will be excellent, with no need to workaroud.
Thanks
Dosent works here this examples...There are several examples in the forum to get all your IPs.
Yes, i notice that when i submited the question... lapsus intelectus.Nice would be to get the Gateway IP to the Internet. But what do you mean with Port?? You should know on which port your application is listening too or!?.
Yes i know, but if the commands are there, im just suggesting to change a little bit that commands to make it more usefull.Try it in a threaded Procedure if you want to use the PB Commands but I would suggest you to use your own routines to send/receive files through the network.
Use SendNetworkData ans receivenetworkdata instead.
I dont see the point to have a command that are "not recommendable" if the command could be improved
The idea behind server sending data and files are great and simple to use, just with that small change it will be excellent, with no need to workaroud.
Thanks