Click here to Skip to main content
15,902,114 members
Home / Discussions / C#
   

C#

 
QuestionGUI automation? Pin
Tridip Bhattacharjee2-Feb-10 19:51
professionalTridip Bhattacharjee2-Feb-10 19:51 
AnswerRe: GUI automation? Pin
Eddy Vluggen2-Feb-10 22:33
professionalEddy Vluggen2-Feb-10 22:33 
QuestionGenerate a key press Pin
DoanDucTai2-Feb-10 19:39
DoanDucTai2-Feb-10 19:39 
AnswerRe: Generate a key press [modified] Pin
Nuri Ismail2-Feb-10 21:27
Nuri Ismail2-Feb-10 21:27 
AnswerRe: Generate a key press Pin
Giorgi Dalakishvili2-Feb-10 23:10
mentorGiorgi Dalakishvili2-Feb-10 23:10 
Questionmultithreading problem Pin
Member 5903102-Feb-10 19:33
Member 5903102-Feb-10 19:33 
AnswerRe: multithreading problem Pin
Calla2-Feb-10 20:23
Calla2-Feb-10 20:23 
AnswerRe: multithreading problem Pin
Luc Pattyn3-Feb-10 1:42
sitebuilderLuc Pattyn3-Feb-10 1:42 
QuestionHow to identify the application has been executed or not? Pin
BalasubramanianK2-Feb-10 19:22
BalasubramanianK2-Feb-10 19:22 
AnswerRe: How to identify the application has been executed or not? Pin
BalasubramanianK2-Feb-10 19:40
BalasubramanianK2-Feb-10 19:40 
Questiongdiplus jpeg encodng performance? Pin
Druuler2-Feb-10 17:29
Druuler2-Feb-10 17:29 
QuestionA good looking TreeView Pin
newstargate2-Feb-10 11:15
newstargate2-Feb-10 11:15 
AnswerRe: A good looking TreeView Pin
Super Lloyd2-Feb-10 11:28
Super Lloyd2-Feb-10 11:28 
AnswerRe: A good looking TreeView Pin
Anurag Gandhi2-Feb-10 19:23
professionalAnurag Gandhi2-Feb-10 19:23 
JokeRe: A good looking TreeView Pin
Ravi Bhavnani3-Feb-10 2:06
professionalRavi Bhavnani3-Feb-10 2:06 
QuestionDecryption algorithm Pin
3bood.ghzawi2-Feb-10 9:34
3bood.ghzawi2-Feb-10 9:34 
AnswerMessage Closed Pin
2-Feb-10 9:56
stancrm2-Feb-10 9:56 
GeneralRe: Decryption algorithm Pin
3bood.ghzawi2-Feb-10 11:42
3bood.ghzawi2-Feb-10 11:42 
GeneralRe: Decryption algorithm Pin
Mycroft Holmes2-Feb-10 11:57
professionalMycroft Holmes2-Feb-10 11:57 
GeneralRe: Decryption algorithm Pin
AspDotNetDev2-Feb-10 16:57
protectorAspDotNetDev2-Feb-10 16:57 
GeneralRe: Decryption algorithm [modified] Pin
Not Active2-Feb-10 11:58
mentorNot Active2-Feb-10 11:58 
Questionproblem of socket programming with local ip Pin
mehrdad3332-Feb-10 8:38
mehrdad3332-Feb-10 8:38 
AnswerRe: problem of socket programming with local ip Pin
Jimmanuel2-Feb-10 9:29
Jimmanuel2-Feb-10 9:29 
The client has to know where the server is. Period. There's no way that a server could notify the client of its address without the server being previously aware of the client - for the server to be previously aware of the client then the client would have had to have to connected to the server already!

In other words, what you have with localEndPoint2 is unnecessary. In order for the server to notify the client where it is they would already have to be connected and that would mean your problem is already solved.

Usually on the client side the server's IP Address and Port are stored in the application's configuration. Then the server starts up and starts listening on its port, and when the client starts up it reads its configuration and it knows where to connect to.

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

QuestionMs Access reports saving to File system in C# Pin
montu33772-Feb-10 8:34
montu33772-Feb-10 8:34 
AnswerRe: Ms Access reports saving to File system in C# Pin
Mycroft Holmes2-Feb-10 12:01
professionalMycroft Holmes2-Feb-10 12:01 

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.