Computer Science Canada Sending integers through the internet |
Author: | supaphreek [ Sun May 30, 2010 8:53 am ] | ||||
Post subject: | Sending integers through the internet | ||||
What is it you are trying to achieve? I am trying to send integers through the internet. What is the problem you are having? It wont receive it :S It says unknown net error. Describe what you have tried to solve this problem Tried sending it normally and got the error :S. Tried converting it to string, then to char, then sending the char, and converting the char to a string and then to an int ![]() Post any relevant code (You may choose to attach the file instead of posting the code if it is too long) Sending File
Receiving file
Please specify what version of Turing you are using 4.1.1 |
Author: | Tony [ Sun May 30, 2010 11:27 am ] |
Post subject: | RE:Sending integers through the internet |
Where does the error occur? Do you change your netAddress? You are still trying to send/receive an integer, while the Net. module checks only if there's a character, line, or some bytes available. Documentation -- netmodule |
Author: | supaphreek [ Sun May 30, 2010 4:50 pm ] |
Post subject: | RE:Sending integers through the internet |
But since d is continously changing in the send program, i want it to keep receiving the new value :S so woudlnt it hvae to be in the loop? |