© Sealevel Systems, Inc.
- 55 -
SeaLINK User Manual
CEthernet Application Development
Using Visual C++
To use the CCEthernet Class, simply ensure that the SeaMAX directory is in the
include and library path for Visual C++. Once that is complete, simply include the
CEthernet.lib
file is contained on the link tab settings for the project.
Required Code
For all of the following examples, the following must be in either the
StdAfx.h
file if
using Precompiled Header Files (PCH) or at the top of the individual C++ file. Once
these files are added, the code will know the definitions and locations for the
provided library.
#include
<stdio.h>
#include
<windows.h>
#include
<stdlib.h>
#include
"CEthernet.h"