Fixed several bugs with serial, most of which had to do with the crc. Also added the ability to close serial ports. Changed initial status of serial port to SERIAL_CLOSED.
Added the CommProtoSerial executable to test serial connections.
UDP no longer closes the socket in the destructor, close must be called explicitly. The initial status of a udp connection is SOCKET_CLOSED. A call to InitConnection will set the status to SOCKET_OPEN and creating a UDP object connected to a remote endpoint using AddAddress will have a SOCKET_CONNECTED status.
UDPLink now calls close on the local field in the destructor.
PacketTable is now an interface.
PacketHashTable is an implementation of PacketTable and uses all the same code as the previous PacketTable.
Comms::InitConnection will no longer crash when given a NULL address. Serial does not check the length of the address either (because you pass in NULL anyways).
Fixed several bugs with serial, most of which had to do with the crc. Also added the ability to close serial ports. Changed initial status of serial port to SERIAL_CLOSED.
Added the CommProtoSerial executable to test serial connections.
UDP no longer closes the socket in the destructor, close must be called explicitly. The initial status of a udp connection is SOCKET_CLOSED. A call to InitConnection will set the status to SOCKET_OPEN and creating a UDP object connected to a remote endpoint using AddAddress will have a SOCKET_CONNECTED status.
UDPLink now calls close on the local field in the destructor.
PacketTable is now an interface.
PacketHashTable is an implementation of PacketTable and uses all the same code as the previous PacketTable.
Comms::InitConnection will no longer crash when given a NULL address. Serial does not check the length of the address either (because you pass in NULL anyways).