"Wojtek" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi. > > Simulator 5.4 and 5.3 (Debug) fails with "Instruction at xxxxxxxx referenced > memory 0x0000000000: Memory could not be read" - when I try to create a > socket. > On Simulator 5.2 it works ok. > Sumulators have the same settings. > > I create socket with line: > sd = socket( AF_INET, SOCK_STREAM, 0); > It is defined as NetLibSocketOpen(AppNetRefnum, > domain,type,protocol,AppNetTimeout,&errno). > AppNetRefNum, AppNetTimeOut and errno are visible (local vars, cant use > globals) and have correct values. > > Don't know where is the problem and why on 5.2 it works fine. > > Any help? > > Wojtek >
On 5.2 I get netErrNoMoreSockets error. Can it be caused by stack overrun? I overruned stack recently, used to big static-sized buffers. Wojtek -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
