Part 3: Communicating with Sockets API
2-8
Getting Started with ADSP-BF537 EZ-KIT Lite
. Next, replace the constructor
Caesar_Cipher_ThreadType::Caesar_Cipher_ThreadType()
with
the contents of
“Listing 2-2. Caesar_Cipher_ThreadType() Imple-
. The new lines of code are delineated in
italics.
4. Open
Caesar_Cipher_ThreadType.h
and add a few new member
variables (see
“Listing 2-3. VDK::Thread Implementation” on
).
5. Go back to
Caesar_Cipher_ThreadType.cpp
and add
#include <lwip/sockets.h>
near the top of the file, with the other
#include
directives, to make the sockets API “known” to this
source file.
Figure 2-3. New Thread Type
www.BDTIC.com/ADI