Click here to Skip to main content
15,893,588 members
Home / Discussions / C#
   

C#

 
GeneralRe: encryption Pin
jashimu2-Nov-09 10:45
jashimu2-Nov-09 10:45 
AnswerRe: encryption Pin
Last Attacker3-Nov-09 3:14
Last Attacker3-Nov-09 3:14 
GeneralRe: encryption Pin
jashimu3-Nov-09 4:39
jashimu3-Nov-09 4:39 
Questionload image with open file? Pin
Arefeh Haghpnah2-Nov-09 8:12
Arefeh Haghpnah2-Nov-09 8:12 
AnswerRe: load image with open file? Pin
Christian Graus2-Nov-09 9:01
protectorChristian Graus2-Nov-09 9:01 
AnswerMessage Closed Pin
2-Nov-09 9:03
stancrm2-Nov-09 9:03 
GeneralRe: load image with open file? Pin
Arefeh Haghpnah3-Nov-09 7:52
Arefeh Haghpnah3-Nov-09 7:52 
Questionload picture Pin
Arefeh Haghpnah2-Nov-09 7:59
Arefeh Haghpnah2-Nov-09 7:59 
AnswerRe: load picture Pin
kryzchek2-Nov-09 9:13
kryzchek2-Nov-09 9:13 
GeneralRe: load picture Pin
Arefeh Haghpnah3-Nov-09 7:56
Arefeh Haghpnah3-Nov-09 7:56 
GeneralRe: load picture Pin
kryzchek3-Nov-09 7:57
kryzchek3-Nov-09 7:57 
AnswerRe: load picture Pin
Christian Graus2-Nov-09 9:41
protectorChristian Graus2-Nov-09 9:41 
Questionpattern for taking action based on stream of data Pin
deostroll2-Nov-09 6:39
deostroll2-Nov-09 6:39 
AnswerRe: pattern for taking action based on stream of data Pin
Luc Pattyn2-Nov-09 7:59
sitebuilderLuc Pattyn2-Nov-09 7:59 
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 

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.