Click here to Skip to main content
15,910,411 members
Home / Discussions / C#
   

C#

 
GeneralInserting XML elements between node Pin
ksanju100016-May-05 21:11
ksanju100016-May-05 21:11 
GeneralRe: Inserting XML elements between node Pin
Anonymous16-May-05 21:37
Anonymous16-May-05 21:37 
GeneralRe: Inserting XML elements between node Pin
ksanju100016-May-05 23:26
ksanju100016-May-05 23:26 
GeneralRe: Inserting XML elements between node Pin
Wilco017-May-05 1:49
Wilco017-May-05 1:49 
GeneralRe: Inserting XML elements between node Pin
ksanju100022-May-05 2:18
ksanju100022-May-05 2:18 
QuestionSoftware licencing ..How to make my product expire after 15 days? Pin
Member 187880616-May-05 20:48
Member 187880616-May-05 20:48 
GeneralActive desktop Pin
Sabry190516-May-05 20:36
Sabry190516-May-05 20:36 
GeneralHopefully the last post concerning client/server Pin
methodincharge16-May-05 20:22
methodincharge16-May-05 20:22 
I have gone back to the original synchronous client/server code, however keeping the BeginAccept and EndAccept in order to alleviate the need for a keep alive. I have now run into a final problem being Encoding and streaming.

1) What would be the best Encoding for sending String messages but also files? (Is there 1 encoding that could handle both?) I have had success just opening a file, converting to UTF8, converting back to Default, then writing to another file, but somewhere along the line my client/server code muffles the data.

2) Should I use the socket stream or the socket directly for sending/receiving? Is there any real difference (IE socket.Send(..) streamWriter.Write(..)) Currently I'm using a mixture of both and I don't think that it is good coding.

Thanks in advance.

GeneralQuestion on custom attributes Pin
Senthil Sivasubramanian16-May-05 20:18
Senthil Sivasubramanian16-May-05 20:18 
GeneralRe: Question on custom attributes Pin
spif200116-May-05 20:25
spif200116-May-05 20:25 
GeneralStretching and Transforming Pictures Pin
Reanalyse16-May-05 20:15
Reanalyse16-May-05 20:15 
GeneralRe: Stretching and Transforming Pictures Pin
Werdna17-May-05 14:52
Werdna17-May-05 14:52 
GeneralRe: Stretching and Transforming Pictures Pin
Reanalyse17-May-05 17:13
Reanalyse17-May-05 17:13 
GeneralGENERAL NETWORK ERROR..CONTACT YOUR DOCUMENTATION Pin
pubududilena16-May-05 19:38
pubududilena16-May-05 19:38 
GeneralRe: GENERAL NETWORK ERROR..CONTACT YOUR DOCUMENTATION Pin
mav.northwind17-May-05 22:05
mav.northwind17-May-05 22:05 
Generalempty project wizard in Visual studio 2005 Pin
Anonymous16-May-05 18:46
Anonymous16-May-05 18:46 
GeneralSetCaretPos is not working Pin
CsharpHelp16-May-05 17:47
sussCsharpHelp16-May-05 17:47 
Questiona Collection of Panel's Problem ? Pin
hareluya16-May-05 17:32
hareluya16-May-05 17:32 
GeneralNeed explanation ... Pin
Francis Chau16-May-05 16:20
Francis Chau16-May-05 16:20 
GeneralRe: Need explanation ... Pin
Christian Graus16-May-05 18:36
protectorChristian Graus16-May-05 18:36 
GeneralRe: Need explanation ... Pin
Francis Chau16-May-05 19:20
Francis Chau16-May-05 19:20 
Generalexporting pure virtual interfaces from managed dll Pin
.dan.g.16-May-05 15:28
professional.dan.g.16-May-05 15:28 
Generalmy application in system tray on windows startup Pin
Sasuko16-May-05 13:45
Sasuko16-May-05 13:45 
GeneralRe: my application in system tray on windows startup Pin
John Arlen116-May-05 15:28
John Arlen116-May-05 15:28 
GeneralRe: my application in system tray on windows startup Pin
Sasuko16-May-05 23:25
Sasuko16-May-05 23:25 

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.