- Change enum types APP_HDR_* to SOCKET_HDR_*
- Remove SOCKET_HDR_NONE type from app-hdr as its same as
SOCKET_HDR_GTSKT
- Fix values per samples for GTSKT to 1
- Replace TODO tag with @todo
- Use SOCKET_HDR_DEFAULT if app_hdr setting is not present
in config file
- Fix bug when invalid message is received resulting in
infinite printing loop
- Fix bug in socket_write when due to declaration of struct
msg msgs[cnt] in the for loop the values are not transmitted
- Replace std=c98 with std=c11 but still compile without it
GT-NET-Socket uses a tag in the config file to distinguish from default
socket node type application layer header (struct msg). For now all the
values are encoded in the struct sample without any header (no timestamp
or sequence number).
Minor improvement in pipe.c: replace 'goto' with do while