Re: [Pyobjc-dev] Question about Python sockets and NSFileDescriptors
Brought to you by:
ronaldoussoren
From: Bob I. <bo...@re...> - 2004-02-20 01:36:29
|
On Feb 19, 2004, at 8:04 PM, Jim Clause wrote: > Hello, > I've narrowed my problem down a bit more. I'm wrapping a python > socket in an NSFileDescriptor and then registering to receive > ConnectionAccepted notifications. When I run my code listed below I > just get an infinite number of notifications. Can anyone see any > errors in my code or explain why I might be getting some many > connection notices? Take a look at the notification's userInfo(), those are not connection notifications, they are EBADF errors.. Why they keep coming is beyond me, but that's what's happening. -bob |