Sockets issue

BCS BCS at pathlink.com
Wed Jan 16 12:19:37 PST 2008


okibi wrote:

> By throwing in some writef's, I've been able to get multiple connections.
> 
> I'm getting errors with "shouldn't be able to reach 'insert memory location'"

If you do this

int main()
{
   while(true) {...}
}

and the loop some how ends (break, throw, etc.) then you get some 
strange stuff happening when execution gets to the end of the main 
without a return. Make it "void main()" and your fine.

Just a though, don't know if it is what's happening.

 > as well as "cannot reference 'insert memory location'" upon handling 
the data passed. Odd...


More information about the Digitalmars-d-learn mailing list