triperzonak
10th August 2009, 03:31
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.:confused:
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.:confused: