Click here to Skip to main content
15,913,237 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Mapped Network drive (connect to it) Pin
scott987uk15-May-04 15:32
scott987uk15-May-04 15:32 
Generalalphabetize list box at run time Pin
Selevercin15-May-04 12:05
Selevercin15-May-04 12:05 
GeneralRe: alphabetize list box at run time Pin
valikac15-May-04 15:33
valikac15-May-04 15:33 
GeneralUnable to make a successfull CHttpFile.SendRequest() call Pin
Terry O'Nolley15-May-04 10:38
Terry O'Nolley15-May-04 10:38 
GeneralRe: Unable to make a successfull CHttpFile.SendRequest() call Pin
Hesham Amin15-May-04 20:33
Hesham Amin15-May-04 20:33 
GeneralRe: Unable to make a successfull CHttpFile.SendRequest() call Pin
Terry O'Nolley16-May-04 5:08
Terry O'Nolley16-May-04 5:08 
GeneralTransfer of Files Pin
shals16915-May-04 9:38
shals16915-May-04 9:38 
GeneralRe: Transfer of Files Pin
toxcct15-May-04 10:23
toxcct15-May-04 10:23 
shals169 wrote:
Please can some one send me the code
oh, you want the entiere code ? nop, sorry, we do not do homework here. but i can help you...
if you want to send an entiere file through sockets, you must use connected sockets.
then, before sending you fil, you can send a description for it. for example, its size, its name...
this way, the receiver will create a consequent named file and a buffer for the socket received datas.
then, you just have to read and write, until the end of file is reached.
you say you created a client and a server, so a consider you know how sockets works and how to use the sock API. But when you say so, it is troubling me because it is like you would like to use THIS client and THIS server. if they are not programmed for that, you won't be able to use them, otherwise you question is useless...

regards,


TOXCCT >>> GEII power


GeneralRe: Transfer of Files Pin
valikac15-May-04 15:37
valikac15-May-04 15:37 
GeneralConverting C++ project into COM object Pin
Tony Archer15-May-04 9:35
Tony Archer15-May-04 9:35 
GeneralRe: Converting C++ project into COM object Pin
Kamyar Souri15-May-04 21:45
Kamyar Souri15-May-04 21:45 
GeneralADMIN Pin
Renjith Ramachandran15-May-04 6:01
Renjith Ramachandran15-May-04 6:01 
GeneralRe: ADMIN Pin
andi_mihai15-May-04 6:14
andi_mihai15-May-04 6:14 
GeneralLooking for C++ class to parse/read RSS Pin
TigerNinja_15-May-04 4:37
TigerNinja_15-May-04 4:37 
GeneralRe: Looking for C++ class to parse/read RSS Pin
User 665815-May-04 4:48
User 665815-May-04 4:48 
GeneralRe: Looking for C++ class to parse/read RSS Pin
TigerNinja_15-May-04 5:36
TigerNinja_15-May-04 5:36 
GeneralRe: Looking for C++ class to parse/read RSS Pin
Ravi Bhavnani15-May-04 6:15
professionalRavi Bhavnani15-May-04 6:15 
Generalexcel files Pin
andi_mihai15-May-04 4:23
andi_mihai15-May-04 4:23 
GeneralRe: excel files Pin
Renjith Ramachandran15-May-04 5:52
Renjith Ramachandran15-May-04 5:52 
QuestionI2C Bus & DirectX !? Pin
Behzad Ebrahimi15-May-04 2:31
Behzad Ebrahimi15-May-04 2:31 
GeneralSOS !!! Error while printing through PDFWriter Pin
JigneshSuthar15-May-04 2:26
JigneshSuthar15-May-04 2:26 
Generalneed help ...fscanf and end of line. Pin
8820915-May-04 1:30
8820915-May-04 1:30 
GeneralRe: need help ...fscanf and end of line. Pin
toxcct15-May-04 2:35
toxcct15-May-04 2:35 
GeneralRe: need help again Pin
8820915-May-04 5:16
8820915-May-04 5:16 
GeneralRe: need help again Pin
8820915-May-04 5:17
8820915-May-04 5:17 

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.