Click here to Skip to main content
15,886,788 members
Home / Discussions / C#
   

C#

 
QuestionParsing Xml to SortedList with System.Xml.Linq Pin
thiago barbedo2-Nov-09 6:09
thiago barbedo2-Nov-09 6:09 
QuestionRLE (Run Length Encoding) in C# [modified] Pin
earlgraham2-Nov-09 5:54
earlgraham2-Nov-09 5:54 
GeneralRe: RLE (Run Length Encoding) in C# Pin
harold aptroot2-Nov-09 7:46
harold aptroot2-Nov-09 7:46 
GeneralRe: RLE (Run Length Encoding) in C# [modified] Pin
earlgraham2-Nov-09 8:31
earlgraham2-Nov-09 8:31 
GeneralRe: RLE (Run Length Encoding) in C# Pin
harold aptroot2-Nov-09 13:26
harold aptroot2-Nov-09 13:26 
AnswerRe: RLE (Run Length Encoding) in C# [modified] Pin
Oleg Orlov6-Jan-13 15:18
Oleg Orlov6-Jan-13 15:18 
QuestionUDP/TCP Port Forwarding [modified] Pin
Boss52-Nov-09 5:21
Boss52-Nov-09 5:21 
AnswerRe: UDP/TCP Port Forwarding Pin
Jimmanuel2-Nov-09 8:00
Jimmanuel2-Nov-09 8:00 
You'll could wrap the data that the IC sends to Comp1 with data describing where to send the response. Then the sequence of events can go like this:
* IC sends data to comp2
* comp2 wraps it with a header including information about who sent it
* comp2 forwards it to comp1
* comp1 generates a response that includes the header information
* comp1 sends the response back to comp2
* comp2 reads the header and forwards the response back to the original sender

or if comp2 can access the public internet then it can read the header and send the response directly. Doing this with TCP is pretty similar, just look up the TcpListener and TcpClient classes.
Boss5 wrote:
while (true) { };

ew. Something like this might be better implemented as a service rather than a console app.


Badger | [badger,badger,badger,badger...]

GeneralRe: UDP/TCP Port Forwarding Pin
Boss52-Nov-09 8:12
Boss52-Nov-09 8:12 
GeneralRe: UDP/TCP Port Forwarding Pin
Jimmanuel2-Nov-09 8:25
Jimmanuel2-Nov-09 8:25 
GeneralRe: UDP/TCP Port Forwarding Pin
Boss52-Nov-09 8:53
Boss52-Nov-09 8:53 
GeneralRe: UDP/TCP Port Forwarding Pin
satthi113-Jan-10 0:11
satthi113-Jan-10 0:11 
GeneralRe: UDP/TCP Port Forwarding Pin
Jimmanuel13-Jan-10 2:50
Jimmanuel13-Jan-10 2:50 
QuestionC# MDI Forms layout [modified] Pin
FBCode2-Nov-09 4:28
FBCode2-Nov-09 4:28 
AnswerRe: C# MDI Forms layout Pin
Henry Minute2-Nov-09 5:56
Henry Minute2-Nov-09 5:56 
GeneralRe: C# MDI Forms layout [modified] Pin
FBCode2-Nov-09 21:13
FBCode2-Nov-09 21:13 
QuestionAccessing sound card Pin
Darren Shields2-Nov-09 4:22
Darren Shields2-Nov-09 4:22 
QuestionHow can I know/see on which core a thread run ? Pin
evyatar.v2-Nov-09 3:20
evyatar.v2-Nov-09 3:20 
AnswerRe: How can I know/see on which core a thread run ? Pin
Abhishek Sur2-Nov-09 3:25
professionalAbhishek Sur2-Nov-09 3:25 
GeneralRe: How can I know/see on which core a thread run ? Pin
harold aptroot2-Nov-09 3:50
harold aptroot2-Nov-09 3:50 
GeneralRe: How can I know/see on which core a thread run ? Pin
Abhishek Sur2-Nov-09 6:09
professionalAbhishek Sur2-Nov-09 6:09 
GeneralRe: How can I know/see on which core a thread run ? Pin
harold aptroot2-Nov-09 6:23
harold aptroot2-Nov-09 6:23 
GeneralRe: How can I know/see on which core a thread run ? Pin
Abhishek Sur2-Nov-09 20:23
professionalAbhishek Sur2-Nov-09 20:23 
AnswerRe: How can I know/see on which core a thread run ? Pin
Luc Pattyn2-Nov-09 3:34
sitebuilderLuc Pattyn2-Nov-09 3:34 
AnswerRe: How can I know/see on which core a thread run ? Pin
Covean2-Nov-09 3:46
Covean2-Nov-09 3:46 

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.