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

C / C++ / MFC

 
GeneralRe: Please help !!!! Pin
Bravoone_200611-Sep-06 20:32
Bravoone_200611-Sep-06 20:32 
QuestionRe: Please help !!!! Pin
Bravoone_200611-Sep-06 22:50
Bravoone_200611-Sep-06 22:50 
AnswerRe: Please help !!!! Pin
toxcct11-Sep-06 23:32
toxcct11-Sep-06 23:32 
QuestionRe: Please help !!!! Pin
Bravoone_200612-Sep-06 0:58
Bravoone_200612-Sep-06 0:58 
AnswerRe: Please help !!!! Pin
toxcct12-Sep-06 1:13
toxcct12-Sep-06 1:13 
QuestionHow can i sent structures through SOCKETS Pin
swamy Narasimha11-Sep-06 19:21
swamy Narasimha11-Sep-06 19:21 
AnswerRe: How can i sent structures through SOCKETS Pin
zubair_ahmed11-Sep-06 19:59
zubair_ahmed11-Sep-06 19:59 
GeneralRe: How can i sent structures through SOCKETS Pin
swamy Narasimha11-Sep-06 20:29
swamy Narasimha11-Sep-06 20:29 
Thankq Mr. zubair_ahmed,

But i want 2 give clear idea abt the problem which i got.

This is the data which i want 2 send:

struct data
{

int id;
CString str1;
CString str2;
}pt;

UpdateData();
CString str;
pt.str1=m_ID;
pt.str2=m_Name;
pt.id="A";
str.Format ("%d#%s#%s",pt);
send(clientsock,str,str.GetLength(),0);

Here Iam sending structure data tru string but.. is there any way to send data by structure address??

and How to get back the data at server side

...Thanks swamy
GeneralRe: How can i sent structures through SOCKETS Pin
markkuk11-Sep-06 23:14
markkuk11-Sep-06 23:14 
GeneralRe: How can i sent structures through SOCKETS Pin
Divyang Mithaiwala12-Sep-06 0:08
Divyang Mithaiwala12-Sep-06 0:08 
GeneralRe: How can i sent structures through SOCKETS Pin
swamy Narasimha4-Oct-06 18:15
swamy Narasimha4-Oct-06 18:15 
GeneralRe: How can i sent structures through SOCKETS Pin
Divyang Mithaiwala4-Oct-06 19:34
Divyang Mithaiwala4-Oct-06 19:34 
AnswerRe: How can i sent structures through SOCKETS Pin
Cedric Moonen11-Sep-06 20:04
Cedric Moonen11-Sep-06 20:04 
QuestionHow can i add files and directories to the list Control and Tree control Pin
kiranin11-Sep-06 18:45
kiranin11-Sep-06 18:45 
AnswerRe: How can i add files and directories to the list Control and Tree control Pin
kk.tvm11-Sep-06 18:49
kk.tvm11-Sep-06 18:49 
GeneralHow can i add files and directories to the list Control and Tree control Pin
kiranin11-Sep-06 19:00
kiranin11-Sep-06 19:00 
AnswerRe: How can i add files and directories to the list Control and Tree control Pin
Nibu babu thomas11-Sep-06 21:25
Nibu babu thomas11-Sep-06 21:25 
AnswerRe: How can i add files and directories to the list Control and Tree control Pin
Hamid_RT11-Sep-06 19:48
Hamid_RT11-Sep-06 19:48 
GeneralRe: How can i add files and directories to the list Control and Tree control Pin
kiranin12-Sep-06 2:06
kiranin12-Sep-06 2:06 
GeneralRe: How can i add files and directories to the list Control and Tree control Pin
Hamid_RT12-Sep-06 8:45
Hamid_RT12-Sep-06 8:45 
GeneralRe: How can i add files and directories to the list Control and Tree control Pin
kiranin12-Sep-06 18:57
kiranin12-Sep-06 18:57 
GeneralRe: How can i add files and directories to the list Control and Tree control Pin
Hamid_RT12-Sep-06 21:53
Hamid_RT12-Sep-06 21:53 
QuestionAT Commands: Port Issue Pin
shahzaib11-Sep-06 18:31
shahzaib11-Sep-06 18:31 
QuestionCommunicatev with Hide windows Pin
Max++11-Sep-06 17:57
Max++11-Sep-06 17:57 
AnswerRe: Communicatev with Hide windows Pin
A_Fa11-Sep-06 18:10
A_Fa11-Sep-06 18:10 

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.