/* -------------------------------------------------------------------------
* Project: GSocket (Generic Socket) for WX
/* -------------------------------------------------------------------------
* Project: GSocket (Generic Socket) for WX
* Copyright: (c) Guilhem Lavaux
* Licence: wxWindows Licence
* Authors: Guilhem Lavaux,
* Copyright: (c) Guilhem Lavaux
* Licence: wxWindows Licence
* Authors: Guilhem Lavaux,
getsockopt(m_endpoint, SOL_SOCKET, SO_ERROR, (void*) &error, &len);
getsockopt(m_endpoint, SOL_SOCKET, SO_ERROR, (void*) &error, &len);
- ret = recvfrom(m_endpoint, buffer, size, 0, &from, (SOCKLEN_T *) &fromlen);
+ ret = recvfrom(m_endpoint, buffer, size, 0, &from, (WX_SOCKLEN_T *) &fromlen);