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

C#

 
GeneralRe: C# - Self documenting code Pin
Heath Stewart9-Apr-04 4:27
protectorHeath Stewart9-Apr-04 4:27 
GeneralRunning Hello World examples, but MessageBoxIcon Enumeration[s] don't provide unique icons. Pin
Bupkus8-Apr-04 13:31
Bupkus8-Apr-04 13:31 
GeneralRe: Running Hello World examples, but MessageBoxIcon Enumeration[s] don't provide unique icons. Pin
Colin Angus Mackay8-Apr-04 14:12
Colin Angus Mackay8-Apr-04 14:12 
GeneralRe: Running Hello World examples, but MessageBoxIcon Enumeration[s] don't provide unique icons. Pin
Heath Stewart9-Apr-04 4:22
protectorHeath Stewart9-Apr-04 4:22 
GeneralCLients Communication without server Pin
Member 7326718-Apr-04 13:18
Member 7326718-Apr-04 13:18 
GeneralRe: CLients Communication without server Pin
Colin Angus Mackay8-Apr-04 14:20
Colin Angus Mackay8-Apr-04 14:20 
GeneralRe: CLients Communication without server Pin
Heath Stewart9-Apr-04 4:11
protectorHeath Stewart9-Apr-04 4:11 
GeneralRe: CLients Communication without server Pin
Heath Stewart9-Apr-04 4:18
protectorHeath Stewart9-Apr-04 4:18 
If you want to create a P2P network, you need to either define and implement the protocol yourself, implement an existing protocol, or use an existing protocol along with an existing library. Windows XP SP1 introduced a new P2P library that I know someone here was working on wrapping.

If you don't need an entire P2P network of clients and just want to communicate between two distinct clients, then you just need to use simple socket communications or .NET Remoting (a much more powerful technology using ubiquitous protocols like HTTP and SOAP).

For more information on .NET Remoting, see Accessing Objects in Other Application Domains using .NET Remoting[^], as well as http://www.ingorammer.com[^]. Pick up a good book, too. With power (extensibility) comes complixity.

For simple socket communications, see the System.Net.Sockets[^] namespace in the .NET Framework SDK, specifically the Socket class (for low-level comms), or the Tcp* and Udp* classes. Note that using this mechanism you're still left with defining at least a simple protocol whereby clients agree to so that they can communicate correctly.

 

Microsoft MVP, Visual C#
My Articles
GeneralCollectionEditor Pin
Jamie Nordmeyer8-Apr-04 12:49
Jamie Nordmeyer8-Apr-04 12:49 
GeneralRe: CollectionEditor Pin
Colin Angus Mackay8-Apr-04 14:30
Colin Angus Mackay8-Apr-04 14:30 
GeneralRe: CollectionEditor Pin
dacris8-Apr-04 18:03
dacris8-Apr-04 18:03 
GeneralRe: CollectionEditor Pin
Heath Stewart9-Apr-04 4:01
protectorHeath Stewart9-Apr-04 4:01 
GeneralRe: CollectionEditor Pin
Heath Stewart9-Apr-04 4:06
protectorHeath Stewart9-Apr-04 4:06 
GeneralRe: CollectionEditor Pin
Jamie Nordmeyer9-Apr-04 5:12
Jamie Nordmeyer9-Apr-04 5:12 
QuestionDoes anyone did a project of ticket agency? Pin
Natnael8-Apr-04 10:41
Natnael8-Apr-04 10:41 
AnswerRe: Does anyone did a project of ticket agency? Pin
Colin Angus Mackay8-Apr-04 14:39
Colin Angus Mackay8-Apr-04 14:39 
GeneralListView Control not showing entire string text - Windows Forms Pin
Jasim Iqbal8-Apr-04 10:29
Jasim Iqbal8-Apr-04 10:29 
GeneralMouse moves when I change background on WinXP desktop Pin
Flack8-Apr-04 10:06
Flack8-Apr-04 10:06 
GeneralA problem with transactions.. Pin
benqazou8-Apr-04 9:21
benqazou8-Apr-04 9:21 
GeneralRe: A problem with transactions.. Pin
Heath Stewart8-Apr-04 11:12
protectorHeath Stewart8-Apr-04 11:12 
GeneralRe: A problem with transactions.. Pin
Anonymous8-Apr-04 12:17
Anonymous8-Apr-04 12:17 
GeneralRe: A problem with transactions.. Pin
Heath Stewart9-Apr-04 3:14
protectorHeath Stewart9-Apr-04 3:14 
GeneralThread ID for current thread Pin
Grimolfr8-Apr-04 9:16
Grimolfr8-Apr-04 9:16 
GeneralRe: Thread ID for current thread Pin
jqd20018-Apr-04 10:30
jqd20018-Apr-04 10:30 
GeneralRe: Thread ID for current thread Pin
Grimolfr9-Apr-04 8:44
Grimolfr9-Apr-04 8:44 

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.