Re: Networking
Re: Networking
- Subject: Re: Networking
- From: The Karl Adam <email@hidden>
- Date: Tue, 25 Jan 2005 08:24:59 -0500
Apple's classes support UDP, they are very thin wrappers around BSD
Sockets. As to the other classes. I know that only OmniNetworking
supports UDP, and my personal NetUDPSocket that is a subclass of
NetSocket. I would hand it off, except I'm not done since I have yet
to get up to need UDP send. After that I have to go write a
NetSecureSocket to use more of Apple's Security Layer for secure
transmission.
-Karl
On Mon, 24 Jan 2005 18:34:30 -0800, Dustin Voss <email@hidden> wrote:
> 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
>
_______________________________________________
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