Click here to Skip to main content
15,900,108 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Macro to hide rows and columns with zero values Pin
Member 1308978628-Mar-17 3:41
Member 1308978628-Mar-17 3:41 
AnswerRe: Macro to hide rows and columns with zero values Pin
CHill6028-Mar-17 3:58
mveCHill6028-Mar-17 3:58 
GeneralRe: Macro to hide rows and columns with zero values Pin
Member 1308978628-Mar-17 10:53
Member 1308978628-Mar-17 10:53 
AnswerRe: Macro to hide rows and columns with zero values Pin
ZurdoDev29-Mar-17 1:04
professionalZurdoDev29-Mar-17 1:04 
QuestionDES Coding on visual studio 2010 Pin
Member 1307673422-Mar-17 2:31
Member 1307673422-Mar-17 2:31 
GeneralRe: DES Coding on visual studio 2010 Pin
Ralf Meier22-Mar-17 3:13
mveRalf Meier22-Mar-17 3:13 
AnswerRe: DES Coding on visual studio 2010 Pin
Jochen Arndt22-Mar-17 3:14
professionalJochen Arndt22-Mar-17 3:14 
QuestionClient/Server Application - Locating Server on Network Pin
Dominick Marciano15-Mar-17 12:37
professionalDominick Marciano15-Mar-17 12:37 
I am currently writing a business application which is a collaborative tools (e.g. messaging, file sharing, reminders, etc.) which uses a client/server model. One thing I'm currently stuck on is how the client application can locate the server without requiring each user to enter the IP address in their own application. From research I've done, it appears that there are two ways this can be accomplished.

1. I can require that the system admin (who installs the server application) to create an A record for the server and then create an SRV record which would list the port and the hostname (from the A record). However this would require the network to have a DNS server.

2. I can use IP multicasting. On a predefined port, the server can send out a message at regular intervals which contains its IP address and the port to connect on. When the client application starts up, and during login, the client application can listen for this message to determine where the server is located.

If the second option is viable, any suggestion on how often the multicast message should be sent out? It should be often enough that by the time the client application has finished loading, and the user has begun the login process, it has already identified the local server. However, I'm worried about sending it too often and causing network congestion.

I am leaning towards option two as it doesn't require any DNS records to be updated and seems to be easier for whoever installs the server application. I was wondering if anyone else has had to do something similar and had any suggestions on either of these two methods, or any other method that may work better.

Please note that I am using .NET 4.6, server application is a windows forms application, and the client application is being designed with WPF; WCF is not being used for this project. Any comments or suggestions would be greatly appreciated. Thank you in advance for any help in this matter.

-Dominick
A black hole is where God tried to divide by zero.

There are 10 kinds of people in the world; those who understand binary and those who don't.

SuggestionRe: Client/Server Application - Locating Server on Network Pin
Richard MacCutchan15-Mar-17 22:43
mveRichard MacCutchan15-Mar-17 22:43 
AnswerRe: Client/Server Application - Locating Server on Network Pin
Bernhard Hiller15-Mar-17 23:17
Bernhard Hiller15-Mar-17 23:17 
AnswerRe: Client/Server Application - Locating Server on Network Pin
Dave Kreskowiak16-Mar-17 3:05
mveDave Kreskowiak16-Mar-17 3:05 
QuestionSerial device attached to USB 3.0 port not behaving same as when attached to USB2.0 Pin
SepPax10-Mar-17 6:56
SepPax10-Mar-17 6:56 
SuggestionRe: Serial device attached to USB 3.0 port not behaving same as when attached to USB2.0 Pin
CHill6010-Mar-17 11:41
mveCHill6010-Mar-17 11:41 
QuestionRandom Number Generator Pin
Member 1303025428-Feb-17 20:06
Member 1303025428-Feb-17 20:06 
AnswerRe: Random Number Generator Pin
OriginalGriff28-Feb-17 20:09
mveOriginalGriff28-Feb-17 20:09 
AnswerRe: Random Number Generator Pin
Patrice T3-Mar-17 15:28
mvePatrice T3-Mar-17 15:28 
Questionvb2005 how to discover and connect to bluetooth devices Pin
Member 1302699727-Feb-17 8:25
Member 1302699727-Feb-17 8:25 
SuggestionRe: vb2005 how to discover and connect to bluetooth devices Pin
Richard MacCutchan27-Feb-17 21:24
mveRichard MacCutchan27-Feb-17 21:24 
GeneralRe: vb2005 how to discover and connect to bluetooth devices Pin
Member 1302699727-Feb-17 23:42
Member 1302699727-Feb-17 23:42 
GeneralRe: vb2005 how to discover and connect to bluetooth devices Pin
Richard MacCutchan28-Feb-17 0:09
mveRichard MacCutchan28-Feb-17 0:09 
AnswerRe: vb2005 how to discover and connect to bluetooth devices Pin
Gerry Schmitz28-Feb-17 7:16
mveGerry Schmitz28-Feb-17 7:16 
Questionabout keyboard shortcuts using in vb Pin
Member 1171801921-Feb-17 20:08
Member 1171801921-Feb-17 20:08 
AnswerRe: about keyboard shortcuts using in vb Pin
Jochen Arndt21-Feb-17 21:43
professionalJochen Arndt21-Feb-17 21:43 
QuestionProblem set Lyrics mp3 encoded iso-8859-1 TagLib visual basic [Moved] Pin
Member 1165739820-Feb-17 10:32
Member 1165739820-Feb-17 10:32 
GeneralRe: Error set Lyrics mp3 encoded iso-8859-1 TagLib visual basic Pin
Tim Carmichael20-Feb-17 10:35
Tim Carmichael20-Feb-17 10:35 

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.