Re: OTInetStringToAddress returns kOTOutStateErr?
Re: OTInetStringToAddress returns kOTOutStateErr?
- Subject: Re: OTInetStringToAddress returns kOTOutStateErr?
- From: Duane Murphy <email@hidden>
- Date: Tue, 19 Feb 2002 14:25:30 -0800
--- At Tue, 19 Feb 2002 22:18:10 +0000, Duane Murphy wrote:
>
Why would OTInetStringToAddress() return an kOTOutStateErr (-3155)?
>
>
I keep one global InetSvcRef that is used to call OTInetStringToAddress
>
whenever we need to. The app is very simple, not threaded or anything
>
like that.
>
>
The first (sometimes first few) calls seem to work ok. Then
>
OTInetStringToAddress starts return kOTOutStateErr.
>
>
Any suggestions?
Well, one good reason is that if the connection changes for any reason,
then the InetSvcRef is now stale and no good. Duh.
Is there any good way to detect this to close and reopen the InetSvcRef?
...Duane
_______________________________________________
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.