|
|
发表于 2015-8-21 14:20:06
|
显示全部楼层
本帖最后由 Super169 于 2015-8-21 14:21 编辑
eatpotato 发表于 2015-8-21 11:15 
这两个库好像是不能通用的吧?
可以試試 UIPEthernet 的庫
UIPEthernet: A plugin-replacement of the stock Arduino Ethernet library for ENC28J60 shields and breakout boards. Full support for persistent (streaming) TCP-connections and UDP (Client and Server each), ARP, ICMP, DHCP and DNS. Build around Adam Dunkels uIP Stack.
https://github.com/ntruchsess/arduino_uip
Examples 中已包括了 TCP 及 UDP 的例子, 可以作為參考.
|
|