i need to send the simplest values from one computer to the other
over the net.im a total beginner and wasnt able to find help about that
the boygrouping seems a bit too advance and complicated is there an easier way?
are you talking about the internet or a local network?
in a local net everything is quite easy.
in the internet you would need either a deep understanding of routers, natting and vpn or a tool like http://hamachi.cc to get started.
how to get it running on the lan:
1.have a UDP (Network Client) node for the sending end and a UDP (Network Server) for the receiving end.
set the ip adress of the server at the remote host pin on the client side.
set both udp nodes to the same port number.
basically you can choose them at will, but make sure they are not used for something else in your network (see http://en.wikipedia.org/wiki/TCP_and_UDP_port_numbers)
enable the server on the receiving side.
now if you enter a string on the sender and bang the Do Send pin for one frame this string will get transmitted to the receiver. so you will get the same string for one frame on the receiver.
a S+H (string) node connected to the Output and Queue Count pins of the receiving UDP node will help you seeing your results.
from now on its a classical patching thing. nodes like Tokenizer and AsValue (String), AsString (Value) and FormatValue will come handy. please ask for details…
and while i am at it:
i hear you asking what is the difference between concatenate and discard mode on the receiver?
in case the server will run with a higher frame rate as the receiver, you need to deal with multiple messages in one frame on the receiver. in discard mode you will always receive just the latest message - all others get discarded, hence the name.
this is great for contiuous transmissions like the value of a sensor, but is bad if you are waiting for something like pressing a start button.
in concatenate mode all messages which are received in one frame are appended to each other. so you can analyse them later and process them all in one frame. regexpr and spreads will typically help you with that.
why they are called servers and clients?
the client knows the server but the server doesnt know the client.
the client is originating the connection to the well known server.
please ask more questions, this is a deep topic - TCP and UDP broadcasts are some more things to talk about.
thanks for the detailed reply.
i would do it on a local network so i hope the answer refers to that i understood u correctly.
yes, the steps above are for a local network (lan).
how come i was able to do it just with 2 simple nodes-netsend,netreceive.
does it have to do with the difference between sending values and strings?
what the difference between them anyway (hope that not a silly question
the difference between sending value and string:
value = 123456…
string = blablabla…
the two module are spreadable , that´s mean : you can send multiple value with one module , no need to create one module for each value or string .
thanks … no text …