Click here to Skip to main content
15,894,405 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Sir,
I am new in network programming. I want to get connection to device which has ip address and port. after that i will send a stream to that device and will recieve stream send back by device.
I have a client server program but it says client server runs separately. I am confused on where the client program will run.
Can i make it on a single application. sir please suggest me.
Posted
Updated 30-Sep-14 22:28pm
v2

Check Out for Socket Programming

This is an tutorial but you can Google other examples
Working with Sockets in C#[^]
 
Share this answer
 
You just need a client program. It should create a socket connection to the device, and then send and receive as described in the various tutorials on socket programming. The device will act as the server and should respond to client commands. You may need to get a copy of the documentation for the device (if you do not already have it) to check what protocol it uses.
 
Share this answer
 

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