Click here to Skip to main content
15,892,298 members
Home / Discussions / C#
   

C#

 
GeneralRe: Socket Programming - How Do I Send and Receive a Class or Structure Pin
goodpilot23-Mar-04 4:42
goodpilot23-Mar-04 4:42 
GeneralRe: Socket Programming - How Do I Send and Receive a Class or Structure Pin
Heath Stewart23-Mar-04 5:20
protectorHeath Stewart23-Mar-04 5:20 
GeneralRe: Socket Programming - How Do I Send and Receive a Class or Structure Pin
goodpilot23-Mar-04 5:28
goodpilot23-Mar-04 5:28 
GeneralRe: Socket Programming - How Do I Send and Receive a Class or Structure Pin
goodpilot24-Mar-04 3:56
goodpilot24-Mar-04 3:56 
GeneralRe: Socket Programming - How Do I Send and Receive a Class or Structure Pin
goodpilot24-Mar-04 3:59
goodpilot24-Mar-04 3:59 
GeneralRe: Socket Programming - How Do I Send and Receive a Class or Structure Pin
Heath Stewart24-Mar-04 4:13
protectorHeath Stewart24-Mar-04 4:13 
GeneralRe: Socket Programming - How Do I Send and Receive a Class or Structure Pin
goodpilot24-Mar-04 16:46
goodpilot24-Mar-04 16:46 
GeneralRe: Socket Programming - How Do I Send and Receive a Class or Structure Pin
Sascha Andres23-Mar-04 3:17
Sascha Andres23-Mar-04 3:17 
I think you can do this in more than one way. Any way has it's pros and cons.

One way would be using MS Messaging Queue to transport your object. Besides beeing a simple way without too much pain on thinking how to transmit it on the networking part, this requires to have the MSMQ services running.

An other way is remoting. I haven't done much with remoting yet, so perhaps I may be wrong here.

An other way would be to serialize the object (you can choose between XML or binary for example) and send the serialized object via TCP/IP and deserialize on the other machine. This includes a bit more work (serializing) and has the lower level transport. If the last part is already done, this might be a fast switch.

[Sorry: I've overseen "without serialization", so forget the last possibility.]

HTH,
Sascha

--
http://www.livingit.de
http://www.mobile-bookmarks.info
http://www.not2long.net
GeneralRe: Socket Programming - How Do I Send and Receive a Class or Structure Pin
Heath Stewart23-Mar-04 3:20
protectorHeath Stewart23-Mar-04 3:20 
GeneralRe: Socket Programming - How Do I Send and Receive a Class or Structure Pin
Sascha Andres23-Mar-04 3:34
Sascha Andres23-Mar-04 3:34 
QuestionHow do I check wether a url/file exists Pin
kris.mackintosh22-Mar-04 10:17
kris.mackintosh22-Mar-04 10:17 
AnswerRe: How do I check wether a url/file exists Pin
Heath Stewart22-Mar-04 11:56
protectorHeath Stewart22-Mar-04 11:56 
Generalfrom VC6 dll Pin
yyf22-Mar-04 10:10
yyf22-Mar-04 10:10 
GeneralRe: from VC6 dll Pin
Heath Stewart22-Mar-04 11:47
protectorHeath Stewart22-Mar-04 11:47 
GeneralRe: from VC6 dll Pin
yyf23-Mar-04 3:10
yyf23-Mar-04 3:10 
GeneralRe: from VC6 dll Pin
Heath Stewart23-Mar-04 3:13
protectorHeath Stewart23-Mar-04 3:13 
GeneralRe: from VC6 dll Pin
yyf23-Mar-04 4:01
yyf23-Mar-04 4:01 
GeneralLoop through a Datagrid Pin
Anonymous22-Mar-04 9:55
Anonymous22-Mar-04 9:55 
GeneralRe: Loop through a Datagrid Pin
Heath Stewart22-Mar-04 11:46
protectorHeath Stewart22-Mar-04 11:46 
GeneralRe: Loop through a Datagrid Pin
Anonymous22-Mar-04 11:51
Anonymous22-Mar-04 11:51 
GeneralRe: Loop through a Datagrid Pin
Heath Stewart22-Mar-04 11:57
protectorHeath Stewart22-Mar-04 11:57 
GeneralRe: Loop through a Datagrid Pin
Ruchi Gupta22-Mar-04 12:11
Ruchi Gupta22-Mar-04 12:11 
GeneralRe: Loop through a Datagrid Pin
Heath Stewart23-Mar-04 2:46
protectorHeath Stewart23-Mar-04 2:46 
GeneralProperty questions Pin
gkrish522-Mar-04 9:01
gkrish522-Mar-04 9:01 
GeneralRe: Property questions Pin
CWIZO22-Mar-04 9:20
CWIZO22-Mar-04 9:20 

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.