Click here to Skip to main content
14,327,824 members
Rate this:
Please Sign up or sign in to vote.
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.
Rodrigo Degollada 8-Nov-18 6:31am
   
visual basic.net
Thanks!!!
Richard MacCutchan 8-Nov-18 7:01am
   
You can refine the above search to find VB.NET samples.
Rodrigo Degollada 8-Nov-18 7:03am
   
Sure! Thanks, I'll continue searching.

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




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100