Click here to Skip to main content
15,881,709 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am writing a program using c to establish communication between my pc and a device(already has tcp server program in it...)these two communicate using telnet.and the telnet data from my pc to the device that i captured using wireshark is ff fb 18,ff fd 03,ff fb 03,ff fd 01,ff fb 1f..and ff fe 07,ff fe 07,ff fc 07,ff fe 07.i havent started with my coding for the client.am a beginner in c,and this is completely new to me..if i could hav some references or steps on how i could do this,it would be of great help
Posted
Comments
Richard MacCutchan 11-Jun-14 6:18am    
You probably need to read the documentation for the device, as well as following the links provided by CPallini below.

1 solution

If you are developing for the Windows OS, then check out: "Complete Winsock Client Code" at MSDN[^].
On the other hand, if you are targeting the Linux OS then you may find this interesting "LINUX SOCKET PART 11: TCP CLIENT-SERVER CODE SAMPLE"[^].
For other scenarios, Google is your friend.
 
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