Hello,
I am trying to compile a class that uses socket using the Visual C++
..NET compiler. I get the following error:
------ Build started: Project: infCommon, Configuration: Release Win32
------
Compiling...
cl : Command line warning D4029 : optimization is not available in the
standard edition compiler
infSocketObject .cxx
c:\ILS\inFACT\C ommon\infSocket Object.h(4) : fatal error C1083: Cannot
open include file: 'sys/socket.h': No such file or directory
infServerSocket Object.cxx
c:\ILS\inFACT\C ommon\infSocket Object.h(4) : fatal error C1083: Cannot
open include file: 'sys/socket.h': No such file or directory
infObjectUsingS ocket.cxx
c:\ILS\inFACT\C ommon\infSocket Object.h(4) : fatal error C1083: Cannot
open include file: 'sys/socket.h': No such file or directory
infClientSocket Object.cxx
c:\ILS\inFACT\C ommon\infSocket Object.h(4) : fatal error C1083: Cannot
open include file: 'sys/socket.h': No such file or directory
Generating Code...
Obviously, the #include<sys/socket.h> is the issue... but why is that
??? Is it because Visual C++ .Net does not support standard socket
programming ??? I actually checked in the include directory of Visual
C++ .NET and was unable to find any trace of the socket.h file.
Any help would be appreciated.
Regards,
Jean-Philippe
I am trying to compile a class that uses socket using the Visual C++
..NET compiler. I get the following error:
------ Build started: Project: infCommon, Configuration: Release Win32
------
Compiling...
cl : Command line warning D4029 : optimization is not available in the
standard edition compiler
infSocketObject .cxx
c:\ILS\inFACT\C ommon\infSocket Object.h(4) : fatal error C1083: Cannot
open include file: 'sys/socket.h': No such file or directory
infServerSocket Object.cxx
c:\ILS\inFACT\C ommon\infSocket Object.h(4) : fatal error C1083: Cannot
open include file: 'sys/socket.h': No such file or directory
infObjectUsingS ocket.cxx
c:\ILS\inFACT\C ommon\infSocket Object.h(4) : fatal error C1083: Cannot
open include file: 'sys/socket.h': No such file or directory
infClientSocket Object.cxx
c:\ILS\inFACT\C ommon\infSocket Object.h(4) : fatal error C1083: Cannot
open include file: 'sys/socket.h': No such file or directory
Generating Code...
Obviously, the #include<sys/socket.h> is the issue... but why is that
??? Is it because Visual C++ .Net does not support standard socket
programming ??? I actually checked in the include directory of Visual
C++ .NET and was unable to find any trace of the socket.h file.
Any help would be appreciated.
Regards,
Jean-Philippe
Comment