ITcpServer.Accept (METH)

METHOD Accept : ERROR_ID

Method Accept is called until an incoming connection is hand over from TCP stack

InOut:

Scope

Name

Type

Comment

Return

Accept

ERROR_ID

Output

AddErrNo

RTS_IEC_RESULT

Additional error number gives information about error from SysSock2Close –> please see CmpErrors.Errors

Socket

RTS_IEC_HANDLE

Socket handle of an incoming connection

SocketAddrExt

SysSocket2.SOCKADDRESS

External Socket address of the incoming connection