gabriel rosenkoetter on 22 Feb 2004 18:01:02 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] UDP programming question


On Sun, Feb 22, 2004 at 12:45:57PM -0500, Jeff Abrahamson wrote:
> I don't think so.  I'm setting from to point to a structure whose
> contents are all zeroes, but fromlen I am passing as sizeof(from):

Well, I admit to not bothering to check for myself. :^>

> In a follow-on mail, I noted that not compiling with threads solved
> the problem.  I don't understand at all why that should matter: I
> wasn't using threads, just planning to later.

At a guess, is your threads library (brokenly) wrapping recvfrom(2)?

-- 
gabriel rosenkoetter
gr@eclipsed.net

Attachment: pgpKMbtyHuIYZ.pgp
Description: PGP signature