> In PySocket_getaddrinfo, would it make sense to increase the > allocation of pbuf from 10 characters to, say, 30 characters Or even to "char pbuf[sizeof(long)*3];" so no one has to think about it anymore. Alex.