c# - What would be a good approach to create this application? -


i'd create simple application lists computers on given computers network. i'd them able send messages , each other. pretty simple. :)

what simplest approach be?

that's not automatically doable. on windows network can try equivalent of "net view", gives list of clients. in general, though, there's no guarantee computers discoverable. there approaches sort-of work doing nslookup on addresses in local network that's brute force , if computer doesn't register name in dns won't work either.

assuming you've seolved problem of finding out ip address want talk need socket (udp packets or tcp streams) , can start chatting (or sending messages app app. introduction tcp/ip have examples that.

in c# it's easy using socket or udpclient classes


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -