On Fri, Feb 07, 2003 at 10:34:54PM -0700, J. J. Ekstrom wrote:
> I've looked at every mailing list and FAQ for limitations on the Cygwin
> accept() I can't find this one.
> [...]
> if ((new_s = accept(s, (struct sockaddr *)&sin, &len)) < 0)
Cockpit error. Try initializing len before cal
I've looked at every mailing list and FAQ for limitations on the Cygwin
accept() I can't find this one.
The following program illustrates the problem, simply moving the struct
sockaddr_in sin, and char buf definition lines to be local variable of
the main will cause the accept to fail with a "bad
2 matches
Mail list logo