2009/9/1 Ismael Barros <razielm...@gmail.com>: > +typedef struct tagDPSP_MSG_HEADER > +{ > + DWORD size; /* size & 0x000FFFFF, token & 0xFFF00000 */ > + SOCKADDR_IN SockAddr; > +} DPSP_MSG_HEADER, *LPDPSP_MSG_HEADER; > +typedef const DPSP_MSG_HEADER* LPCDPSP_MSG_HEADER; > + It seems you're sending this over the network, so you should make sure it's correctly packed, and take the byte order into account.
- Re: [PATCH 2/7] dpwsockx: Implementation of SPInit Henri Verbeet
- Re: [PATCH 2/7] dpwsockx: Implementation of SPInit Ismael Barros²
- Re: [PATCH 2/7] dpwsockx: Implementation of SPIni... Henri Verbeet
- Re: [PATCH 2/7] dpwsockx: Implementation of S... Ismael Barros²
- Re: [PATCH 2/7] dpwsockx: Implementation ... Henri Verbeet
- Re: [PATCH 2/7] dpwsockx: Implementa... Ismael Barros²
- Re: [PATCH 2/7] dpwsockx: Implem... Henri Verbeet
- Re: [PATCH 2/7] dpwsockx: Implementation of SPInit Kai Blin
- Re: [PATCH 2/7] dpwsockx: Implementation of SPIni... Henri Verbeet
- Re: [PATCH 2/7] dpwsockx: Implementation of S... Kai Blin
- Re: [PATCH 2/7] dpwsockx: Implementation ... Henri Verbeet