D
Da Vinci
Hello,
I am starting a project that requires data transfer via UDP. It will
be between two different computers. I have all of the information that
needs to be sent in the packet and what the return packets are. What I
do not know is how to open a UDP connection in C++ and structure the
packet to send.
This is for a home built simulator running the X-Plane software. The
sim will be on one computer and is configurable to send data out to a
specified IP address and also to bring in data sent to it. The program
I need to make will be on the other computer that has all the hardware
attached to it. I already have the hardware figured out and have a
program to control all the I/O to it.
If anyone out there could suggest a book on the subject, point me to
some commented source code, post examples of source code, or anything
else, I would be much appreciative. My C++ is a little rusty and not
to advanced. I can do all of the loops, arrays, pointers, and class
stuff but that is about it.
Many Thanks in Advance.
I am starting a project that requires data transfer via UDP. It will
be between two different computers. I have all of the information that
needs to be sent in the packet and what the return packets are. What I
do not know is how to open a UDP connection in C++ and structure the
packet to send.
This is for a home built simulator running the X-Plane software. The
sim will be on one computer and is configurable to send data out to a
specified IP address and also to bring in data sent to it. The program
I need to make will be on the other computer that has all the hardware
attached to it. I already have the hardware figured out and have a
program to control all the I/O to it.
If anyone out there could suggest a book on the subject, point me to
some commented source code, post examples of source code, or anything
else, I would be much appreciative. My C++ is a little rusty and not
to advanced. I can do all of the loops, arrays, pointers, and class
stuff but that is about it.
Many Thanks in Advance.