Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: OpenPlay listening socket bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OpenPlay listening socket bug?




On Dec 6, 2004, at 4:25 PM, Lane Roathe wrote:

on Mon, Dec 6, 2004 Ed Zavada may have said:

I believe I've found a new bug in OpenPlay -- I'm using the 2.2r1 OSX
Mach-O framework. When initializing a listening port using
ProtocolOpenEndpoint(kOpenNone) and a config with connectType=
kIPModuleType, and mode=2 (kNMStreamMode), a UDP port is also opened. I
can see this with netstat. While this is less than ideal, the real
problem comes when I try to close it. I call ProtocolCloseEndpoint(),
and it appears to close the TCP port but leave the UDP port open, which
prevents me from reopening the listener later.

I have not seen this reported before, and 2.2r1 is only slightly
different from 2.2r2 (the latest), mainly in the xcode project I believe
(the packages are not in front of me).


Was this a problem in previous versions, or is this a new 2.2 issue?

I 'm not sure if this was an issue in previous versions or not. I know it isn't a problem if I use kNMNormalMode, but I haven't had a chance to do any real testing on it. Unfortunately I probably won't have any time to dig into it for a week at least.


I did want to make sure it got into the collective OpenPlay consciousness before I forget about it though :-)

Ed Zavada
Pixel Dust Games
email@hidden
http://www.pixeldustgames.com/

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Openplay-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >OpenPlay listening socket bug? (From: Ed Zavada <email@hidden>)
 >Re: OpenPlay listening socket bug? (From: "Lane Roathe" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.