CFNetService - PB vs. CodeWarrior problems
CFNetService - PB vs. CodeWarrior problems
- Subject: CFNetService - PB vs. CodeWarrior problems
- From: Justin Greenfield <email@hidden>
- Date: Wed, 9 Oct 2002 10:01:45 -0500
Using the Echo example in the developer tools and Jeremy's bugfix last
week, I was finally making some progress learning about CFNetService.
That is, until I tried to compile it in CodeWarrior 8.2. I'd prefer
to do my work in CodeWarrior because all of our other projects which I
will be using are built with CW8.2.
Besides a few small differences in what PB will allow in terms of
implicit casting and what CW will not allow, the Echo server sample
compiles just fine in CW with a few added explicit casts.
Then, when trying to run the CW compiled version, it runs just fine.
BUT, if I try to launch multiples of the CW compiled echo server, all
the subsequent instances exit with the error "AcceptConnection -
Received an error (0, -72001)" which looks like a collision error from
my reading of the headers.
What gets me, though, is that I can launch as many of the PB built
versions as I want without getting that collision error. Thinking that
maybe I screwed something up with my small additions of explicit casts
to the original example, I compiled my modified source with PB and it
still works exactly the same as the original example did before.
Does anybody have any clue what the difference could be between PB and
CW that is causing this behavior?? I've poured over the project
settings in CW and nothing sticks out to me as something I should
change.
Thanks,
Justin
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.