[EMAIL PROTECTED] wrote:
When I try to call the fallowing function it gives me "4625 netErrInternal"

code for receiving:
void *dataToRead;
char* gotdata;

result = NetLibReceive(AppNetRefnum, socket, dataToRead, 10, 0,   NULL, NULL, -1, 
&error );

This code doesn't show that you're allocating a buffer.  You appear to just
be leaving the pointer with a random value, but NetLibReceive() is expecting
you to give it a pointer to some location where it can write some data.

  - Logan

--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to