Hi,

I am using the v002 network library in my QC patch to send packages with image data to a remote machine.

Upon connection however, I am always running into a EXC_Bad_ACCESS with code 13 at address 0x0


Thus, this seems to be a null pointer exception somewhere, yet I can't find where?

I am doing this when sending out my data:


[connectSocket writeData:[NSData dataWithBytes:sendBuffer length:lengthByte] withTimeout:-1 tag:counter % 100];


sendBuffer is a NSMutableData object whcih holds my pixel data encapsulated in a special protocol frame. It is my understanding that calling NSData dataWithBytes creates a (deep) copy of my sendBuffer, so that I can do [sendBuffer release] after it, right?

withTimeout:-1 should send the packet out without any timeout

and

tag: counter % 100

is a counter which makes sure that several tagged sessions are going out in order not to flood the sending machine (am I mistaken here?)



Still I am getting the error, and I cannot figure out why that it...


Any help would be much appreciated.


Thanks again,

--
Christophe Leske
multimedial.de

----------------------------------------
www.multimedial.de - i...@multimedial.de
Hohler Strasse 17 - 51645 Gummersbach
+49(0)2261-99824540 // +49(0)177-2497031
----------------------------------------

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (Quartzcomposer-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/quartzcomposer-dev/info%40multimedial.de

This email sent to i...@multimedial.de
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (Quartzcomposer-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to