Re: network programming

2012-12-02 Thread Jens Alfke
On 2 Dec 2012, at 20:46, hmier...@me.com wrote: > On 2. Dec 2012, at 20:30, Jens Alfke wrote: > >> Doing a TCP server isn’t too hard because CFStream… > > looks like there is some misunderstanding here. i don't want to write a TCP > server, i want to connect to one. the purpose is to send som

Re: network programming

2012-12-02 Thread jonat...@mugginsoft.com
On 2 Dec 2012, at 20:46, hmier...@me.com wrote: > > On 2. Dec 2012, at 20:30, Jens Alfke wrote: > >> Doing a TCP server isn’t too hard because CFStream… > > looks like there is some misunderstanding here. i don't want to write a TCP > server, i want to connect to one. the purpose is to send

Re: network programming

2012-12-02 Thread hmiersch
On 2. Dec 2012, at 20:30, Jens Alfke wrote: > Doing a TCP server isn’t too hard because CFStream… looks like there is some misunderstanding here. i don't want to write a TCP server, i want to connect to one. the purpose is to send some commands to the broker and get some data back, then proce

Re: network programming

2012-12-02 Thread jonat...@mugginsoft.com
On 2 Dec 2012, at 20:30, Jens Alfke wrote: > > On Dec 2, 2012, at 11:29 AM, hmier...@me.com wrote: > >> question is, what's the best way to do that? can i use cocoa or do i have to >> use some lower-level libraries? i think the broker accepts TCP while >> flightgear expects UDP, AFAIK. > >

Re: network programming

2012-12-02 Thread Jens Alfke
On Dec 2, 2012, at 11:29 AM, hmier...@me.com wrote: > question is, what's the best way to do that? can i use cocoa or do i have to > use some lower-level libraries? i think the broker accepts TCP while > flightgear expects UDP, AFAIK. Cocoa has some limited support for TCP: you can open a clie

network programming

2012-12-02 Thread hmiersch
hi. here's the situation: i'm trying to set up a flight simulation system with PS1 (an old 747 simulator originally written for MS-DOS) as the driving force (best systems simulation short of a professional full-motion sim) and several add-ons running in a parallels VM under XP. because PS1 has