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.
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.
What does the relevant code currently look like?
Horse sense is the thing that keeps horses from betting on people. --W.C. Fields
Ask Smart Questions
Bookmarks