I need to know, how can I read socket syn data, sent from the client?
I'm using some gps tracking devices which connects to my tcp server written in Perl with IO::Socket::INET.
I'm perfectly receiving data from clients, but not the sync packet, which contains gps device id.
When the client device connects to the server firstly sends a sync packet and then continues with sending gps data.
As of manufacturer, sync packet format is:
typedef struct
{
WORD SyncHeader;
WORD SyncID;
DWORD UnitID;
} SyncStruct;
How can I get this data on socket connection?
Thanks in advance for your help.
Igor
In reply to Socket syn data by igor1212
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |