My function does not send one byte at a time across the socket. I read a character at a time from the file and store it in a char array. Once i fill the char array I send it to the send_data()...
Type: Posts; User: adk1283
My function does not send one byte at a time across the socket. I read a character at a time from the file and store it in a char array. Once i fill the char array I send it to the send_data()...
Sorry, i posted an old version of my code.
I am using the get() function and i have altered the code to loop therefore i can copy any size of data. What i am having a problem with is the send()...
I want to read a file on the client side and receive the file on the server side. below is the code i have developed
Please note that i am using winsock version 1.1
int _tmain(int argc,...
Has anyone developed code that uses the transmitfile() function that is in the winsock2.h header file. Do i set it it up the same as any other socket.
BOOL TransmitFile(
SOCKET hSocket,
...
has any body developed a code that uses the tranmitfile() function, below is
Can any body give me some sample code that utilizes winsock2 to send messages ( a client - server format). i went to msdn and tried some code but when i ran it, it told me that the bind function...
i am currently doing that but the data still gets corrupted or something, because the contents of the file i copy do not match the original. Should i be using winsock version two rather than version...
When i make a copy of the file on one computer it works perfect but when i try to send the characters accross a socket, the data seems to get corrupted. I want to read all the information from a...
I need to make a copy of a jpeg file is there any way that i could be able to do that. I eventually need to be able to send it through a socket. It would be great if there was some way that i could...