hi,

how can i convert this SOCKET function to QTcpSocket

int ret = send(socket_fd, buf, buf_len, 0)

int ret = recv(socket_fd,&buf[get], (buf_len - get), 0)

i did try to use read() and write() but always returning 0 value.