Question: Establishing TCP connection (socket programming), use Visual Basic to send a string to another device. PLEASE READ INSTRUCTIONS. - The other device should have port
Establishing TCP connection (socket programming), use Visual Basic to send a string to another device. PLEASE READ INSTRUCTIONS.
- The other device should have port number 5000 and IP address 10.10.13.67.
- The answer should be in Visual Basic code.
- The user should input the IP address in a textbox while the program is running (the IP address should not be hard-coded).
- The string of characters to be sent should also be inputted by the user in another textbox while the program is running.
- The string should be sent to the desired IP address by pressing a button in the GUI developed in Visual Studio.
Usually, you would make a client and server code and run both. I am not sure if this changes the answer, but it must be considered that the string is going to be sent to a signal generator. In other words, keep in mind that you cannot open the Visual Studio IDE on the signal generator and run the client code on it. Please keep that in mind.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
