Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Discover where on the network my process is running?
New Posts  All Forums:Forum Nav:

Discover where on the network my process is running?

post #1 of 3
Thread Starter 
I've written a client/server application and I want to be able to have the client "discover" where the server is running.

I've seen other applications do this, but none (so far) of them were open source.

I imagine that the client would send a broadcast over the subnet and my server would listen for that. I'm just not sure how to listen for a broadcast. Or if that's even how it's done.

Any help would be much appreciated.
RAWR
(13 items)
 
Home Server
(11 items)
 
 
CPUMotherboardGraphicsRAM
i7-4790k msi z97 gaming 7 gtx 760 4gb 32GB GSkill  
Hard DriveHard DriveCoolingOS
Kingston HyperX 3K 120GB SSD Hitachi 2TB Cooler Master Hyper 212+ Windows 8.1 Pro 
MonitorKeyboardPowerCase
Vizio M492-b2 Logitech Wireless  Corsair HX620 NZXT Phantom White 
Mouse
Logitech Wireless 
  hide details  
Reply
RAWR
(13 items)
 
Home Server
(11 items)
 
 
CPUMotherboardGraphicsRAM
i7-4790k msi z97 gaming 7 gtx 760 4gb 32GB GSkill  
Hard DriveHard DriveCoolingOS
Kingston HyperX 3K 120GB SSD Hitachi 2TB Cooler Master Hyper 212+ Windows 8.1 Pro 
MonitorKeyboardPowerCase
Vizio M492-b2 Logitech Wireless  Corsair HX620 NZXT Phantom White 
Mouse
Logitech Wireless 
  hide details  
Reply
post #2 of 3
Send the computer name to the server and the server make a log file of some sort stating the time the client connected/disconnected and the name?
lulwut
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5-2500K GigaByte P67A-UD3P-B3 Sapphire Radeon HD5850 1GB 4x2GB Corsair 1600MHz 
Hard DriveOptical DriveOSMonitor
1x 1TB & 1x 250GB Lite-On SATA DVD-RW Windows 7 Professional x64 Dell SP2309W @ 2048x1152 
KeyboardPowerCaseMouse
Saitek Eclipse II Corsair HX620w CM-690 Logitech MX518 
  hide details  
Reply
lulwut
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5-2500K GigaByte P67A-UD3P-B3 Sapphire Radeon HD5850 1GB 4x2GB Corsair 1600MHz 
Hard DriveOptical DriveOSMonitor
1x 1TB & 1x 250GB Lite-On SATA DVD-RW Windows 7 Professional x64 Dell SP2309W @ 2048x1152 
KeyboardPowerCaseMouse
Saitek Eclipse II Corsair HX620w CM-690 Logitech MX518 
  hide details  
Reply
post #3 of 3
Thread Starter 
Actually I found it: http://www.vbforums.com/showthread.php?t=422722

@Jaffa: what I was trying to do was have the client/server find each other without prior knowledge other than a "standard" method to locate the other half. Thanks though!
RAWR
(13 items)
 
Home Server
(11 items)
 
 
CPUMotherboardGraphicsRAM
i7-4790k msi z97 gaming 7 gtx 760 4gb 32GB GSkill  
Hard DriveHard DriveCoolingOS
Kingston HyperX 3K 120GB SSD Hitachi 2TB Cooler Master Hyper 212+ Windows 8.1 Pro 
MonitorKeyboardPowerCase
Vizio M492-b2 Logitech Wireless  Corsair HX620 NZXT Phantom White 
Mouse
Logitech Wireless 
  hide details  
Reply
RAWR
(13 items)
 
Home Server
(11 items)
 
 
CPUMotherboardGraphicsRAM
i7-4790k msi z97 gaming 7 gtx 760 4gb 32GB GSkill  
Hard DriveHard DriveCoolingOS
Kingston HyperX 3K 120GB SSD Hitachi 2TB Cooler Master Hyper 212+ Windows 8.1 Pro 
MonitorKeyboardPowerCase
Vizio M492-b2 Logitech Wireless  Corsair HX620 NZXT Phantom White 
Mouse
Logitech Wireless 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Coding and Programming
Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Discover where on the network my process is running?