add: fd = (int)accept((SOAP_SOCKET)s, a, (SOAP_SOCKLEN_T*)n);
context: tcp_accept(struct soap *soap, int s, struct sockaddr *a, int *n){ int fd;#if defined(SOCKLEN_T)  fd = (int)accept((SOAP_SOCKET)s, a, (SOCKLEN_T*)n);#elif defined(__socklen_t_defined) || defined(_SOCKLEN_T) || defined(CYGWIN) || defined(__FreeBSD__)  fd = (int)accept((SOAP_SOCKET)s, a, (socklen_t*)n);#elif defined(WIN32) || defined(__APPLE__) || defined(HP_UX) || defined(SUN_OS) || defined(OPENSERVER) || defined(TRU64) || defined(VXWORKS)  fd = (int)accept((SOAP_SOCKET)s, a, n);#else  fd = (int)accept((SOAP_SOCKET)s, a, (size_t*)n);#endif#ifdef SOCKET_CLOSE_ON_EXEC#ifdef WIN32#ifndef UNDER_CE  SetHandleInformation((HANDLE)fd, HANDLE_FLAG_INHERIT, 0);#endif#else  fcntl(fd, F_SETFD, FD_CLOEXEC);#endif#endif  return fd;}