[fpc-pascal] Sockets

2009-09-30 Thread Carsten Bager
If I create a TCP socket with fpSocket(AF_INET,SOCK_STREAM,PF_UNSPEC); fpBind(lSock, @sAddr, sizeof(sAddr))<0 then fpListen(lSock, cMaxConn)<0 thenand And waits for connections with fpAccept(lSock, @nSockAddr, @nLen); and when a connection comes in I wait for a new one (in a new thread) wit

Re: [fpc-pascal] Move() vs MemCopy()

2009-09-30 Thread Hans MÃ¥rtensson
Graeme Geldenhuys wrote: 2009/9/29 Vincent Snijders : I never thought that mov ax, bx (8086 assembler) would clear the register after the move. If you put it like that, it never (for some strange reason) confused be either. :-) I guess that's probably because everything in assembler c