Click here to Skip to main content
15,891,431 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi everyone!!!
I´m looking for a simple solution to "listen" a device with a TCP/IP connection. I have a camera taking pictures to products and sending via TCP/IP data: calculations, positions, etc.
I need to send commands to the camera too. I've seen many examples that show TCP/IP chats, but didn't work on my solution.

Best regards.

What I have tried:

I've used others programs (Hyperterminal, Hiperway, etc) to send and receive data and they work, now I need to code it in my proyect (vb.net).
Posted
Comments
RickZeeland 8-Nov-18 4:53am    
You can go to the camera manufacturers website and see if there are any API documentation and examples available. PTZ commands for IP Camera's are often sent via HTTP, the ISpy website has a nice listing of commands.
Rodrigo Degollada 8-Nov-18 6:18am    
In this case, OMRON has developed its own controls (VB.NET) almost 10 years ago and has not updated them since framework 3.5 version. The controls have little margin to receive info, so I need to go further.
I'm looking for a very simple example to receive data and send commands, I have not managed to do it (probably due to my lack of experience in VB.NET code). Any suggestions, code example? Thank you.
Richard MacCutchan 8-Nov-18 6:02am    
Google will find you many code samples of TCP/IP client server.
Rodrigo Degollada 8-Nov-18 6:20am    
I have reviewed many examples and something I will be doing wrong. Do you have a simple example that works?
Thank you.
Richard MacCutchan 8-Nov-18 6:28am    
See tcp ip sample code - Google Search[^]. As we have no idea what language you are using or what "something I will be doing wrong" means.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900