You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, thanks for your excellent working... I am trying to develop a file server by using this project, but it is a little confusing about how to decode the file from the socket. I write the following code but it seems not working:
char buf[500]
int ret = 0;
int session_num=0;
int index = 0;
while (ret == 0){
read(sockfd,buf,500);
ret = m_lt_code->receiveAndDecode(200,buf,session_num,index);
}
m_lt_code->WriteFile("/tmp/test.png",session_num);
Could you please give me a example? Thanks!
The text was updated successfully, but these errors were encountered:
Hello, thanks for your excellent working... I am trying to develop a file server by using this project, but it is a little confusing about how to decode the file from the socket. I write the following code but it seems not working:
Could you please give me a example? Thanks!
The text was updated successfully, but these errors were encountered: