Click here to Skip to main content
15,891,316 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have a device that communicate through lan. I constantly sending a some data. how can i accept that in a c # program. My need is that when i input an ip and press the get result button the result must be shown in the result text box. can anyone can provide a small example source code on windows form application.
Posted
Comments
Patrice T 22-Nov-15 13:23pm    
What have done so far ? Where are you stuck ?
Savad.k.s 23-Nov-15 1:05am    
The think is i am new to this network programming... for past few years i am done only standalone accounting programs. This is a new to me. I have no idea how to accept the data from a network socket.Tired of googling cant find satisfying answer. Just tell how to accept the data or bytes and how to store into a string variable... Thanks in advance

1 solution

Google for "sockets c#" and you will find many examples and tutorials.
 
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