Click here to Skip to main content
15,890,506 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: visual studios 6.0 question Pin
Tyrus18221-Aug-04 18:44
Tyrus18221-Aug-04 18:44 
GeneralRe: visual studios 6.0 question Pin
Ravi Bhavnani21-Aug-04 18:47
professionalRavi Bhavnani21-Aug-04 18:47 
GeneralRe: visual studios 6.0 question Pin
cmk22-Aug-04 16:00
cmk22-Aug-04 16:00 
GeneralComparison of file names Pin
alex.barylski21-Aug-04 15:17
alex.barylski21-Aug-04 15:17 
GeneralRe: Comparison of file names Pin
Ravi Bhavnani21-Aug-04 18:26
professionalRavi Bhavnani21-Aug-04 18:26 
GeneralRe: Comparison of file names Pin
bikram singh22-Aug-04 7:06
bikram singh22-Aug-04 7:06 
GeneralRe: Comparison of file names Pin
alex.barylski22-Aug-04 10:51
alex.barylski22-Aug-04 10:51 
GeneralSending data through winsock Pin
Archer28221-Aug-04 13:05
Archer28221-Aug-04 13:05 
while( true )
{
cout<<"Send: ";
cin>>szBuffer;

send( client, szBuffer, sizeof(szBuffer), 0 );

if( strcmpi(szBuffer,"exit") == 0 ) break;
}

if szBuffer is something like "Hello world"
then the server recieves the string in two parts
the first being "Hello" and the second being "world"
so i think you get my point, it seems to be breaking the data by spaces and sending each word
it may be appending the space too, (havnt tested)
now i want it to send "Hello world" all at once instead of by each word, i thought about replacing the spaces with something else, but i dont really want to do that

anyone know what i can to do to solve this?
GeneralRe: Sending data through winsock Pin
Steve Mayfield21-Aug-04 19:43
Steve Mayfield21-Aug-04 19:43 
GeneralRe: Sending data through winsock Pin
Andrew Peace22-Aug-04 5:35
Andrew Peace22-Aug-04 5:35 
GeneralRe: Sending data through winsock Pin
Archer28222-Aug-04 15:10
Archer28222-Aug-04 15:10 
GeneralRe: Sending data through winsock Pin
Andrew Peace23-Aug-04 2:04
Andrew Peace23-Aug-04 2:04 
GeneralRe: Sending data through winsock Pin
Christian Graus23-Aug-04 16:37
protectorChristian Graus23-Aug-04 16:37 
GeneralRe: Sending data through winsock Pin
gamitech22-Aug-04 12:02
gamitech22-Aug-04 12:02 
GeneralProblem with drawing PNG with GDI+ Pin
damian221-Aug-04 11:40
damian221-Aug-04 11:40 
GeneralRe: Problem with drawing PNG with GDI+ Pin
PJ Arends21-Aug-04 12:26
professionalPJ Arends21-Aug-04 12:26 
GeneralRe: Problem with drawing PNG with GDI+ Pin
damian221-Aug-04 22:27
damian221-Aug-04 22:27 
GeneralRe: Problem with drawing PNG with GDI+ Pin
PJ Arends22-Aug-04 5:13
professionalPJ Arends22-Aug-04 5:13 
GeneralDisable key combination Pin
Kamis21-Aug-04 11:07
Kamis21-Aug-04 11:07 
GeneralRe: Disable key combination Pin
Scozturk21-Aug-04 22:10
professionalScozturk21-Aug-04 22:10 
GeneralRe: Disable key combination Pin
Dudi Avramov22-Aug-04 0:41
Dudi Avramov22-Aug-04 0:41 
Generalmodel 2 modeless Pin
alex.barylski21-Aug-04 11:05
alex.barylski21-Aug-04 11:05 
GeneralRe: model 2 modeless Pin
Ravi Bhavnani21-Aug-04 11:09
professionalRavi Bhavnani21-Aug-04 11:09 
GeneralRe: model 2 modeless Pin
alex.barylski22-Aug-04 12:14
alex.barylski22-Aug-04 12:14 
GeneralRe: model 2 modeless Pin
Ravi Bhavnani22-Aug-04 12:36
professionalRavi Bhavnani22-Aug-04 12:36 

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.