Click here to Skip to main content
15,899,314 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionLoading exe into memory from DVD Pin
kumar sanghvi1-Nov-09 23:52
kumar sanghvi1-Nov-09 23:52 
AnswerRe: Loading exe into memory from DVD Pin
Randor 2-Nov-09 0:12
professional Randor 2-Nov-09 0:12 
AnswerRe: Loading exe into memory from DVD Pin
«_Superman_»2-Nov-09 7:11
professional«_Superman_»2-Nov-09 7:11 
QuestionSending binary file through Sockets in WindowsXP Pin
WindowsVsLinux1-Nov-09 23:29
WindowsVsLinux1-Nov-09 23:29 
AnswerRe: Sending binary file through Sockets in WindowsXP Pin
Richard MacCutchan1-Nov-09 23:44
mveRichard MacCutchan1-Nov-09 23:44 
GeneralRe: Sending binary file through Sockets in WindowsXP Pin
WindowsVsLinux2-Nov-09 2:16
WindowsVsLinux2-Nov-09 2:16 
GeneralRe: Sending binary file through Sockets in WindowsXP Pin
WindowsVsLinux2-Nov-09 7:24
WindowsVsLinux2-Nov-09 7:24 
GeneralRe: Sending binary file through Sockets in WindowsXP Pin
Richard MacCutchan2-Nov-09 7:40
mveRichard MacCutchan2-Nov-09 7:40 
WindowsVsLinux wrote:
Can you please tell me how to achive this ?Actually i am little bit in confuse related to this topic.


Sorry, but I am not sure what you are asking. My suggestion to the original poster was quite simple: when the server gets end-of-file on the data file he should send a special message to the client which the client understands as 'no more data'. Both sides should then close their socket connections.

I don't know whether you are using Windows or Linux, but you will find that socckets are broadly the same on both platforms. Lots of good information on MSDN, here and other sites. Use Google to find tutorials and samples.
GeneralRe: Sending binary file through Sockets in WindowsXP Pin
WindowsVsLinux2-Nov-09 7:34
WindowsVsLinux2-Nov-09 7:34 
AnswerRe: Sending binary file through Sockets in WindowsXP Pin
CPallini1-Nov-09 23:49
mveCPallini1-Nov-09 23:49 
AnswerRe: Sending binary file through Sockets in WindowsXP Pin
KarstenK2-Nov-09 0:06
mveKarstenK2-Nov-09 0:06 
QuestionHow to clear all the elements of an char array Pin
WindowsVsLinux1-Nov-09 23:16
WindowsVsLinux1-Nov-09 23:16 
AnswerRe: How to clear all the elements of an char array Pin
CPallini1-Nov-09 23:36
mveCPallini1-Nov-09 23:36 
AnswerRe: How to clear all the elements of an char array Pin
Rajesh R Subramanian1-Nov-09 23:49
professionalRajesh R Subramanian1-Nov-09 23:49 
AnswerRe: How to clear all the elements of an char array Pin
KarstenK2-Nov-09 0:08
mveKarstenK2-Nov-09 0:08 
GeneralRe: How to clear all the elements of an char array Pin
CPallini2-Nov-09 0:15
mveCPallini2-Nov-09 0:15 
JokeRe: How to clear all the elements of an char array Pin
Randor 2-Nov-09 0:20
professional Randor 2-Nov-09 0:20 
JokeRe: How to clear all the elements of an char array Pin
CPallini2-Nov-09 0:27
mveCPallini2-Nov-09 0:27 
JokeRe: How to clear all the elements of an char array Pin
Randor 2-Nov-09 0:41
professional Randor 2-Nov-09 0:41 
QuestionA referral was returned from the server.?? Pin
Kushagra Tiwari1-Nov-09 23:11
Kushagra Tiwari1-Nov-09 23:11 
QuestionRe: A referral was returned from the server.?? Pin
Randor 1-Nov-09 23:32
professional Randor 1-Nov-09 23:32 
AnswerRe: A referral was returned from the server.?? Pin
Kushagra Tiwari1-Nov-09 23:47
Kushagra Tiwari1-Nov-09 23:47 
GeneralRe: A referral was returned from the server.?? Pin
Randor 2-Nov-09 0:03
professional Randor 2-Nov-09 0:03 
GeneralRe: A referral was returned from the server.?? Pin
Kushagra Tiwari2-Nov-09 0:08
Kushagra Tiwari2-Nov-09 0:08 
GeneralRe: A referral was returned from the server.?? Pin
Randor 2-Nov-09 0:26
professional Randor 2-Nov-09 0:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.