Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] [Moved] tcpip code help needed

Status
Not open for further replies.

john2020

Full Member level 5
Full Member level 5
Joined
Nov 13, 2005
Messages
292
Helped
12
Reputation
24
Reaction score
8
Trophy points
1,298
Visit site
Activity points
4,911
hi



how can i send a datagram containing “How are you” via TCP/IP socket to device located at 192.168.10.5. Then listen for a response and print the response?please help me with example.??
 

Re: tcpip code help needed

I dont know JAVA :-(

any C sample code would help me understand better?

- - - Updated - - -

i am trying to write this application using embedded c program..newbie to networking,so can u help me with some code snippets here?
 

Re: tcpip code help needed

I dont know JAVA :-(

any C sample code would help me understand better?

- - - Updated - - -

i am trying to write this application using embedded c program..newbie to networking,so can u help me with some code snippets here?

The example
https://www.codeproject.com/Articles/11740/A-simple-UDP-time-server-and-client-for-beginners
is in C but not embedded

in the case of embedded systems the code/libraries used depends upon the target microcontroler - for example in the Microchip MLA TCP/IP library (look under Legacy MLA)
https://www.microchip.com/pagehandler/en-us/devtools/mla/

the file UCP.C contains functions for sending and receiving UDP datagrams using Microchip products


which microcontroller do you intend to use ?
 

Re: tcpip code help needed

Instead of UDP, any TCPIP socket code you have to understand better? Any microcontroller code would be enough to understand the code flow.
 


Re: tcpip code help needed

i am trying to write this application using embedded c program..newbie to networking,so can u help me with some code snippets here?

Embedded C, then why is this thread posted in the "PC Programming and Interfacing" section? :evil:

Thread moved to Microcontrollers section.


BigDog
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top