• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Networking problem with OpenPlay
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Networking problem with OpenPlay


  • Subject: Networking problem with OpenPlay
  • From: Bryan Pietrzak <email@hidden>
  • Date: Tue, 4 Mar 2003 17:32:20 -0600

I recently posted this on the OpenPlay list (email@hidden)

This is one of two problems that has been plaguing many users of OpenPlay and I'm not sure we have the right kind of networking people on the OP list. (The other problem is related to how netsprocket manages lists at interrupt time and can best be summarized by this link: http://groups.google.com/groups?dq=&hl=en&lr=&ie=UTF- 8&threadm=050220031857555521%email@hidden&prev=/ groups?hl=en&lr=&ie=UTF- 8&group=comp.sys.mac.programmer.codewarrior -- this too is an open issue unfortunately)

If anyone would like to look at the code in question, you can find OpenPlay here:

http://opendarwin.org/cgi-bin/cvsweb.cgi/proj/OpenPlay/Source

I can post links to the specific OP source files in the CVSweb if anyone would to review them online. (And we'd welcome any and all network gurus that would like to get involved with OpenPlay and help us improve it. I'm just an apps developer and this networking stuff is way over my head :)

Anyway, on to the post...
______________________________________
From: Bryan Pietrzak <email@hidden>
Date: Sun Mar 2, 2003 12:39:56 AM US/Central
To: email@hidden
Subject: error trying to join and host games

I'm getting a LOT of errors from NSpGame_Host/Join where the result is always -4994

Using the debug builds, I always see this same pattern:

binding to any port; result: 0; returned port 49153
binding; requesting port 49153; result: -3247; returned port 0
EP: 0x05127c98 (state: T_UNBND), OTError for OTBind: kEADDRINUSEErr (-3247). File: OTIPEndpoint.cpp, 186
Open failed creating endpoint #2 of type Inet
ProtocolOpenEndpoint returning kNMOpenFailedErr (-4994)
Error returned from ProtocolOpenEndpoint on reliable endpoint: -4994

binding to any port; result: 0; returned port 49154
binding; requesting port 49154; result: -3247; returned port 0
EP: 0x051ac388 (state: T_UNBND), OTError for OTBind: kEADDRINUSEErr (-3247). File: OTIPEndpoint.cpp, 186
Open failed creating endpoint #2 of type Inet
ProtocolOpenEndpoint returning kNMOpenFailedErr (-4994)
Error returned from ProtocolOpenEndpoint on reliable endpoint: -4994

binding to any port; result: 0; returned port 49155
binding; requesting port 49155; result: -3247; returned port 0
EP: 0x051a8f38 (state: T_UNBND), OTError for OTBind: kEADDRINUSEErr (-3247). File: OTIPEndpoint.cpp, 186
Open failed creating endpoint #2 of type Inet
ProtocolOpenEndpoint returning kNMOpenFailedErr (-4994)
Error returned from ProtocolOpenEndpoint on reliable endpoint: -4994

binding to any port; result: 0; returned port 49156
binding; requesting port 49156; result: 0; returned port 49156
New endpoint created (0X6AF88D0) of type Inet (0X6AEC40C to netmodule)


Now I don't quite know what's going. My NSpAddressReference does have a specific IP and port. I'm never asking for some seemingly incremented-each-time port like 49153, the 49154, 55, etc.

It's like NSp or OP must be trying to start by binding to any port and then ??

I've started tracing through NMOpen in the module code to try and nail this down, but I've just started and thought I'd ask to see if others have seen this...?

Bryan
_______________________________________________
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.

  • Follow-Ups:
    • Re: Networking problem with OpenPlay
      • From: "Matt Slot" <email@hidden>
  • Prev by Date: IC settings no longer work?
  • Next by Date: Endpoint reuse
  • Previous by thread: Re: IC settings no longer work?
  • Next by thread: Re: Networking problem with OpenPlay
  • Index(es):
    • Date
    • Thread