Click here to Skip to main content
15,881,204 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# equivalent for charCodeAt Pin
Nick Parker21-Jul-04 5:49
protectorNick Parker21-Jul-04 5:49 
GeneralcharCodeAt equivalent in C# Pin
Mark Peters 2157521-Jul-04 4:46
Mark Peters 2157521-Jul-04 4:46 
QuestionHow to get the Internet IP Pin
sixefftee21-Jul-04 3:49
sixefftee21-Jul-04 3:49 
AnswerRe: How to get the Internet IP Pin
Nick Parker21-Jul-04 5:58
protectorNick Parker21-Jul-04 5:58 
AnswerRe: How to get the Internet IP Pin
Heath Stewart21-Jul-04 6:43
protectorHeath Stewart21-Jul-04 6:43 
GeneralRe: How to get the Internet IP Pin
Anonymous21-Jul-04 17:48
Anonymous21-Jul-04 17:48 
GeneralRe: How to get the Internet IP Pin
Broken God21-Jul-04 19:07
Broken God21-Jul-04 19:07 
GeneralRe: How to get the Internet IP Pin
Heath Stewart22-Jul-04 3:30
protectorHeath Stewart22-Jul-04 3:30 
That's a pretty dumb restriction - knowing an IP isn't a problem; it's making sure that the server is secure that is. Even if the server establishes a connection with the client, it's easy to determine the IP address (it's in the TCP/IP headers!). But you probably can't do anything about that.

If both the client and server are on the same LAN, you can use a multicast group. See the class documentation[^] for the MulticastOption class in the .NET Framework SDK for more details and a client/server example. This uses UDP to send datagrams (connectionless IP, unlike TCP) to a multicast IP address (reserved range; it's not the server's IP). Everyone in the multicast group can receive the message and process it.

 

Microsoft MVP, Visual C#
My Articles
AnswerRe: How to get the Internet IP Pin
TalkingBabb0t21-Jul-04 17:19
TalkingBabb0t21-Jul-04 17:19 
GeneralUser interface samples Pin
machocr21-Jul-04 2:51
machocr21-Jul-04 2:51 
GeneralRe: User interface samples Pin
Nick Parker21-Jul-04 3:04
protectorNick Parker21-Jul-04 3:04 
Generalnotify in taskmanager Pin
Ravikumar_mv21-Jul-04 1:53
Ravikumar_mv21-Jul-04 1:53 
GeneralRe: notify in taskmanager Pin
Ravikumar_mv21-Jul-04 1:59
Ravikumar_mv21-Jul-04 1:59 
GeneralRe: notify in taskmanager Pin
Heath Stewart21-Jul-04 6:40
protectorHeath Stewart21-Jul-04 6:40 
GeneralRe: notify in taskmanager Pin
Ravikumar_mv21-Jul-04 18:48
Ravikumar_mv21-Jul-04 18:48 
GeneralClosing Tcp connections // (for Axel Charpentier) Pin
Ahmad Mehrbod21-Jul-04 1:50
Ahmad Mehrbod21-Jul-04 1:50 
GeneralRe: Closing Tcp connections // (for Axel Charpentier) Pin
Heath Stewart21-Jul-04 6:34
protectorHeath Stewart21-Jul-04 6:34 
GeneralProblems with program start and install Pin
arjasepp21-Jul-04 0:51
arjasepp21-Jul-04 0:51 
Generalconvert XML X.509Certificates Pin
pelos21-Jul-04 0:47
pelos21-Jul-04 0:47 
GeneralRe: convert XML X.509Certificates Pin
Heath Stewart21-Jul-04 6:32
protectorHeath Stewart21-Jul-04 6:32 
GeneralRe: convert XML X.509Certificates Pin
pelos21-Jul-04 6:54
pelos21-Jul-04 6:54 
GeneralRe: convert XML X.509Certificates Pin
Heath Stewart21-Jul-04 9:17
protectorHeath Stewart21-Jul-04 9:17 
GeneralRe: convert XML X.509Certificates Pin
pelos21-Jul-04 12:50
pelos21-Jul-04 12:50 
GeneralThreads and UI Pin
LukeM21-Jul-04 0:27
LukeM21-Jul-04 0:27 
GeneralRe: Threads and UI Pin
Gary Thom21-Jul-04 3:31
Gary Thom21-Jul-04 3:31 

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.