Networking-for-Arduino / EthernetENC

Ethernet library for ENC28J60. This is a modern version of the UIPEthernet library. EthernetENC library is compatible with all Arduino architectures with Arduino SPI library with transactions support. Only include EthernetENC.h instead of Ethernet.h
127 stars 28 forks source link

Not compiling: 'class EthernetServer' has no member named 'write' #4

Closed byteptr closed 3 years ago

byteptr commented 3 years ago

I take this source https://www.arduino.cc/en/Tutorial/LibraryExamples/ChatServer Then following these notes seems not compile: https://github.com/jandrassy/EthernetENC/wiki/Examples

"Only change #include to #include ." <-- I did, and this is OK "In ChatServer and DhcpChatServer examples please use EthernetServerWrite server(23)" <-- I replaced the line "EthernetServer server(23);" with "EthernetServerWrite server(23);" but I have the following error: 'EthernetServerWrite' does not name a type; did you mean 'EthernetServerPrint'?

Can you provide a modified example compiling please ?

JAndrassy commented 3 years ago

sorry, it is an error in Wiki. it should be (as the compiler suggests) EthernetServerPrint

JAndrassy commented 3 years ago

fixed in Wiki