| | Compiling...
AsyncPacketClassCP.cpp
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(38) : error C2144: syntax error : 'AsyncPacketClassCP::IoPacketType' should be preceded by ':'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(39) : error C2146: syntax error : missing ':' before identifier 'SocketConnection'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(39) : error C2146: syntax error : missing ';' before identifier 'connObject'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(39) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(39) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(40) : error C2144: syntax error : 'System::AsyncCallback' should be preceded by ':'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(40) : error C3149: 'System::AsyncCallback' : cannot use this type here without a top-level '^'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(41) : error C2146: syntax error : missing ':' before identifier 'byte'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(41) : error C2146: syntax error : missing ';' before identifier 'dataBuffer'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(41) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(41) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(43) : error C2144: syntax error : 'const int' should be preceded by ':'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(43) : error C3845: 'AsyncPacketClassCP::IoPacket::IoPacketDefaultBufferSize': only static data members can be initialized inside a ref class or value type
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(51) : error C2144: syntax error : 'AsyncPacketClassCP::IoPacket' should be preceded by ':'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(51) : error C2061: syntax error : identifier 'SocketConnection'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(69) : error C2144: syntax error : 'void' should be preceded by ':'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(87) : error C2144: syntax error : 'void' should be preceded by ':'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(106) : error C2144: syntax error : 'void' should be preceded by ':'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(132) : error C2144: syntax error : 'void' should be preceded by ':'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(162) : error C3149: 'System::IAsyncResult' : cannot use this type here without a top-level '^'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(51) : error C2758: 'AsyncPacketClassCP::IoPacket::IoPacketDefaultBufferSize' : must be initialized in constructor base/member initializer list
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(43) : see declaration of 'AsyncPacketClassCP::IoPacket::IoPacketDefaultBufferSize'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(53) : error C2065: 'packetType' : undeclared identifier
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(54) : error C2065: 'connObject' : undeclared identifier
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(54) : error C2065: 'connObj' : undeclared identifier
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(55) : error C2750: 'System::AsyncCallback' : cannot use 'new' on the reference type; use 'gcnew' instead
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(55) : error C2440: '=' : cannot convert from 'System::AsyncCallback *' to 'System::AsyncCallback ^'
No user-defined-conversion operator available, or
Cannot convert an unmanaged type to a managed type
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(59) : error C2065: 'packetType' : undeclared identifier
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(59) : warning C4832: token '.' is illegal after UDT 'AsyncPacketClassCP::IoPacketType'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(22) : see declaration of 'AsyncPacketClassCP::IoPacketType'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(59) : error C2275: 'AsyncPacketClassCP::IoPacketType' : illegal use of this type as an expression
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(22) : see declaration of 'AsyncPacketClassCP::IoPacketType'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(59) : error C2039: 'Accept' : is not a member of 'System::Enum'
c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : see declaration of 'System::Enum'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(61) : error C2065: 'dataBuffer' : undeclared identifier
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(61) : error C2061: syntax error : identifier 'byte'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(73) : error C2065: 'connObject' : undeclared identifier
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(73) : error C2228: left of '.tcpSocket' must have class/struct/union
type is ''unknown-type''
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(73) : error C2228: left of '.BeginConnect' must have class/struct/union
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(74) : error C2065: 'connObject' : undeclared identifier
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(74) : error C2228: left of '.IncrementOutstanding' must have class/struct/union
type is ''unknown-type''
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(77) : error C2725: 'System::Net::Sockets::SocketException' : unable to throw or catch a managed object by value or reference
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(77) : error C2316: 'System::Net::Sockets::SocketException' : cannot be caught as the destructor and/or copy constructor are inaccessible
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(79) : error C2143: syntax error : missing ';' before '.'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(79) : error C2143: syntax error : missing ';' before '.'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(92) : error C2065: 'connObject' : undeclared identifier
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(92) : error C2228: left of '.tcpSocket' must have class/struct/union
type is ''unknown-type''
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(92) : error C2228: left of '.BeginAccept' must have class/struct/union
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(93) : error C2065: 'connObject' : undeclared identifier
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(93) : error C2228: left of '.IncrementOutstanding' must have class/struct/union
type is ''unknown-type''
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(96) : error C2725: 'System::Net::Sockets::SocketException' : unable to throw or catch a managed object by value or reference
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(96) : error C2316: 'System::Net::Sockets::SocketException' : cannot be caught as the destructor and/or copy constructor are inaccessible
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(98) : error C2143: syntax error : missing ';' before '.'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(98) : error C2143: syntax error : missing ';' before '.'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(111) : error C2065: 'connObject' : undeclared identifier
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(111) : error C2228: left of '.tcpSocket' must have class/struct/union
type is ''unknown-type''
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(111) : error C2228: left of '.BeginReceive' must have class/struct/union
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(112) : error C2065: 'dataBuffer' : undeclared identifier
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(114) : error C2065: 'dataBuffer' : undeclared identifier
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(114) : error C2228: left of '.Length' must have class/struct/union
type is ''unknown-type''
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(115) : warning C4832: token '.' is illegal after UDT 'System::Net::Sockets::SocketFlags'
c:\windows\microsoft.net\framework\v2.0.50727\system.dll : see declaration of 'System::Net::Sockets::SocketFlags'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(115) : error C2275: 'System::Net::Sockets::SocketFlags' : illegal use of this type as an expression
c:\windows\microsoft.net\framework\v2.0.50727\system.dll : see declaration of 'System::Net::Sockets::SocketFlags'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(115) : error C2039: 'None' : is not a member of 'System::Enum'
c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : see declaration of 'System::Enum'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(119) : error C2065: 'connObject' : undeclared identifier
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(119) : error C2228: left of '.IncrementOutstanding' must have class/struct/union
type is ''unknown-type''
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(122) : error C2725: 'System::Net::Sockets::SocketException' : unable to throw or catch a managed object by value or reference
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(122) : error C2316: 'System::Net::Sockets::SocketException' : cannot be caught as the destructor and/or copy constructor are inaccessible
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(124) : error C2143: syntax error : missing ';' before '.'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(124) : error C2143: syntax error : missing ';' before '.'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(137) : error C2065: 'connObject' : undeclared identifier
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(137) : error C2228: left of '.tcpSocket' must have class/struct/union
type is ''unknown-type''
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(137) : error C2228: left of '.BeginSend' must have class/struct/union
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(138) : error C2065: 'dataBuffer' : undeclared identifier
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(140) : error C2065: 'dataBuffer' : undeclared identifier
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(140) : error C2228: left of '.Length' must have class/struct/union
type is ''unknown-type''
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(141) : warning C4832: token '.' is illegal after UDT 'System::Net::Sockets::SocketFlags'
c:\windows\microsoft.net\framework\v2.0.50727\system.dll : see declaration of 'System::Net::Sockets::SocketFlags'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(141) : error C2275: 'System::Net::Sockets::SocketFlags' : illegal use of this type as an expression
c:\windows\microsoft.net\framework\v2.0.50727\system.dll : see declaration of 'System::Net::Sockets::SocketFlags'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(141) : error C2039: 'None' : is not a member of 'System::Enum'
c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : see declaration of 'System::Enum'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(145) : error C2065: 'connObject' : undeclared identifier
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(145) : error C2228: left of '.IncrementOutstanding' must have class/struct/union
type is ''unknown-type''
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(148) : error C2725: 'System::Net::Sockets::SocketException' : unable to throw or catch a managed object by value or reference
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(148) : error C2316: 'System::Net::Sockets::SocketException' : cannot be caught as the destructor and/or copy constructor are inaccessible
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(150) : error C2143: syntax error : missing ';' before '.'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(150) : error C2143: syntax error : missing ';' before '.'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(164) : error C2228: left of '.AsyncState' must have class/struct/union
type is 'System::IAsyncResult ^'
did you intend to use '->' instead?
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(166) : error C2039: 'connObject' : is not a member of 'AsyncPacketClassCP::IoPacket'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(37) : see declaration of 'AsyncPacketClassCP::IoPacket'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(166) : error C2228: left of '.DecrementOutstanding' must have class/struct/union
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(167) : error C2039: 'connObject' : is not a member of 'AsyncPacketClassCP::IoPacket'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(37) : see declaration of 'AsyncPacketClassCP::IoPacket'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(167) : error C2228: left of '.HandleIo' must have class/struct/union
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(176) : error C2143: syntax error : missing ';' before ''
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(176) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(177) : error C2144: syntax error : 'System::Net::Sockets::Socket' should be preceded by ':'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(177) : error C3265: cannot declare a managed 'tcpSocket' in an unmanaged 'AsyncPacketClassCP::SocketConnection'
may not declare a global or static variable, or a member of a native type that refers to objects in the gc heap
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(177) : error C3076: 'AsyncPacketClassCP::SocketConnection::tcpSocket' : you cannot embed an instance of a reference type, 'System::Net::Sockets::Socket', in a native type
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(178) : error C2144: syntax error : 'System::Net::IPEndPoint' should be preceded by ':'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(178) : error C3265: cannot declare a managed 'tcpAddress' in an unmanaged 'AsyncPacketClassCP::SocketConnection'
may not declare a global or static variable, or a member of a native type that refers to objects in the gc heap
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(178) : error C3076: 'AsyncPacketClassCP::SocketConnection::tcpAddress' : you cannot embed an instance of a reference type, 'System::Net::IPEndPoint', in a native type
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(180) : error C2144: syntax error : 'int' should be preceded by ':'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(181) : error C2144: syntax error : 'int' should be preceded by ':'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(182) : error C2144: syntax error : 'int' should be preceded by ':'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(183) : error C2144: syntax error : 'int' should be preceded by ':'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(184) : error C2144: syntax error : 'int' should be preceded by ':'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(185) : error C2144: syntax error : 'int' should be preceded by ':'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(187) : error C2144: syntax error : 'int' should be preceded by ':'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(188) : error C2144: syntax error : 'int' should be preceded by ':'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(193) : error C2144: syntax error : 'AsyncPacketClassCP::SocketConnection' should be preceded by ':'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(209) : error C2144: syntax error : 'int' should be preceded by ':'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(210) : error C2473: 'TotalSendBytes' : looks like a function definition, but there is no parameter list.
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(212) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(212) : error C2473: 'get' : looks like a function definition, but there is no parameter list.
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(213) : error C2059: syntax error : 'return'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(213) : error C2238: unexpected token(s) preceding ';'
c:\networkdotnetproject\asyncpacketclasscp\asyncpacketclasscp\AsyncPacketClassCP.h(214) : fatal error C1903: unable to recover from previous error(s); stopping compilation
|