Bsd server send function

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Bsd server send function

1,187件の閲覧回数
Asmita
Contributor I

I am using LPC1768 from NXP. my application is to send and receive data via ethernet interface. I am using DP83848 as phy chip. I have used BSD server example code and customize it for my project. I am using retv function and able to send data from PC to microcontroller and perform required operations. But for sending data from microcontroller to PC I am using inbuilt send function in BSD server example, but I am not able to see any activity in Wireshark. I guess socket itself not getting created while sending. Need help to resolve. dbuf is the buffer storing received commands and same buffer for sending. Can you help me with some example on the flow how to write the code or any settings I need to change in bsd server example to enable send function.

0 件の賞賛
返信
2 返答(返信)

1,135件の閲覧回数
frank_m
Senior Contributor III

As ZhangJennie suggested, use the provided SDK samples.

Lwip is a "lightweigt" IP stack, which does not implement the full BSD stack. Thus, plain BSD code would need some extra effort to get it running.

0 件の賞賛
返信

1,140件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

HI

For LPC1768/69, we only have lpcopen sample package

https://www.nxp.com/design/microcontrollers-developer-resources/lpcopen-libraries-and-examples/lpcop...

there is lwip and webserver related demo included. besides, we don't have other samples.

 

Have a nice day

Jun Zhang

0 件の賞賛
返信