i need send rst flag in 1 socket, possible?
when close tidtcpclient, tcp server program tells me connection still alive, , after 2 minutes connection disappears.
i'm doing :
tcpcliente := tidtcpclient.create(nil); tcpcliente.host := edtip.text; tcpcliente.port := 492; tcpcliente.connecttimeout := 1000; tcpcliente.connect; tcpcliente.socket.writelnrfc(textoenvio, indytextencoding_8bit); texto := tcpcliente.socket.readln(indytextencoding_8bit); tcpcliente.socket.close; tcpcliente.disconnect; tcpcliente.free; i'm using rad studio xe8.
Comments
Post a Comment