Ok... I tried this as NewPassiveConnection:
these are my const
Doesn't work. I get a complaint about: Too few parameters are used in procedure or function call
I found what could be in NewPassiveConnection
How to construct a correct one?
Code:
oe := NewPassiveConnection(cp, Default_TCPBUFFERSIZE, localport);
Code:
const
user_name = 'get /';
dest_name = '192.168.62.9';
dest_port = 84;
localport = 84;
nul = chr(0);
lf = chr(10);
cr = chr(13);
I found what could be in NewPassiveConnection
Code:
function NewPassiveConnection (var cp: connectionIndex; buffersize: longInt; localport: integer; remotehost: longInt; remoteport: integer; dataptr: univ ptr): OSErr;