• 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
Re: Networking
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Networking


  • Subject: Re: Networking
  • From: Dustin Voss <email@hidden>
  • Date: Mon, 24 Jan 2005 18:34:30 -0800

I don't know any socket framework, with the exception of OmniNetworking, that supports UDP. I don't think Apple's built-in classes do either.

You might be stuck with Omni.


On 24 Jan, 2005, at 2:48 AM, Killobit wrote:

Hello list,

I'm getting ready to start a game soon and want to have it be played over
a network and/or internet


I've looked at the BSD sockets and it looks more complicated than it needs
to be, are there any good, simple classes that I can use to make a
TCP socket and UDP socket connection?


i know about CFSocket but that seems just as hard as BSD sockets themselves and
is a very ****ty wrapper class anyway, i've looked on cocoadev.com and found SmallSockets
but I don't think it's exactly what I'm looking for, the Omni Groups sockets have more stuff than
I need (and i couldn't get them to compile even after getting all the other frameworks)


any suggestions?


Regards and TIA, Eric

P.S.
Please don't e-mail me directly as i delete all messages that aren't in my addressbook


also, why doesn't apple just create a nice NSSocket class? i hear they said that everyone
likes to do it themselves, but that's wrong because I don't want to, i just want a nice simple class


mySocket = [NSSocket init];
[mySocket type:@"UDP"]
[mySocket setAddress:@"XXX.XXX.XXX.XXX"];

you get the idea :)

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

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


  • Follow-Ups:
    • Re: Networking
      • From: The Karl Adam <email@hidden>
References: 
 >Networking (From: Killobit <email@hidden>)

  • Prev by Date: Re: Parsing NSString
  • Next by Date: RE: Getting the rect of a character in an NSTextView
  • Previous by thread: Re: Networking
  • Next by thread: Re: Networking
  • Index(es):
    • Date
    • Thread