Re: Setting Up Socket Streams

2008-07-13 Thread StaS Bandol
Hi Chris, Thank you for your response: My 192.168.1.2 processor can understand standard TCP/IP protocol and is located in my local network. So , this 192.168.1.2 is a server in my communication and are always listening the port 8000 , and my app will be the client which shall open a

Re: Setting Up Socket Streams

2008-07-13 Thread Jens Alfke
On 13 Jul '08, at 1:46 PM, StaS Bandol wrote: Note that @http://192.168.1.2; is a URL, not a host name. Just use the host name portion of the URL. - so i shall use @192.168.1.2 instead of @http://192.168.1.2;? Yes. Nearly any API that takes a domain name also accepts the numeric

Setting Up Socket Streams

2008-07-12 Thread StaS Bandol
Hi all, I have a basic(for most of you) question. I´m trying to make a very simple app that will have 1 button (for example) and when its pushed the app will create a socket connection with a host and will send it a message(command). So , i used this: - (IBAction)reset:(id)sender {

Re: Setting Up Socket Streams

2008-07-12 Thread Chris Hanson
On Jul 12, 2008, at 5:22 PM, StaS Bandol wrote: I have a basic(for most of you) question. I´m trying to make a very simple app that will have 1 button (for example) and when its pushed the app will create a socket connection with a host and will send it a message(command). To head this

Re: Setting Up Socket Streams

2008-07-12 Thread Jens Alfke
On 12 Jul '08, at 5:22 PM, StaS Bandol wrote: but my 192.168.1.1 still not recieve nothing... where i'm wrong? That's because you didn't write anything to the streams. You just opened and scheduled them. You need to wait for the streams to finish opening them, then write to the output