Click here to Skip to main content
15,898,036 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to find multiple servers on LAN using TCP socket Pin
Randor 10-May-10 9:43
professional Randor 10-May-10 9:43 
GeneralRe: How to find multiple servers on LAN using TCP socket [modified] Pin
Moak10-May-10 10:25
Moak10-May-10 10:25 
GeneralRe: How to find multiple servers on LAN using TCP socket Pin
Rajesh R Subramanian10-May-10 9:28
professionalRajesh R Subramanian10-May-10 9:28 
GeneralRe: How to find multiple servers on LAN using TCP socket Pin
Rajesh R Subramanian10-May-10 9:40
professionalRajesh R Subramanian10-May-10 9:40 
GeneralRe: How to find multiple servers on LAN using TCP socket Pin
Rajesh R Subramanian10-May-10 21:50
professionalRajesh R Subramanian10-May-10 21:50 
GeneralRe: How to find multiple servers on LAN using TCP socket Pin
Randor 10-May-10 9:11
professional Randor 10-May-10 9:11 
GeneralRe: How to find multiple servers on LAN using TCP socket Pin
Rajesh R Subramanian10-May-10 9:24
professionalRajesh R Subramanian10-May-10 9:24 
GeneralRe: How to find multiple servers on LAN using TCP socket [modified] Pin
Michel Godfroid10-May-10 9:04
Michel Godfroid10-May-10 9:04 
Sure, the ARP broadcast is there
- to find the MAC address of the DHCP or BOOTP server in order to get an IP address if auto address configuration is enabled.
- to detect an available address if no DHCP or bootp servers are there, and automatic address assignment is in effect (169.254/16 network)
- to see if the assigned address is already in use on the network.
- if netbios is enabled, to get at the network neighbourhood machines (netbios is basically a layer 2 protocol)
- to find a master browser, and start the master browser election
- to find the default gateway

Otherwise I'm a bit bothered by your definition of LAN environment: can a LAN not include routers? In that case my home environment does not qualify as a LAN. Each virtual machine host includes a router to effect separation between in host-traffic and LAN Traffic. Any corporate environment, even in the 192.168 subrange will include routers, just because it's usually bad practice to put more than a couple of hundred hosts on a broadcast segment (and the default netmask is /24).
I use a 10/8 network at home, which I divide in /24 networks because of
- Megalomania
- I can't be bothered to calculate subnets which are not a multiple of 8 Smile | :) I suspects network admins out there are as lazy as I am.

modified on Monday, May 10, 2010 3:14 PM

GeneralRe: How to find multiple servers on LAN using TCP socket Pin
Randor 10-May-10 9:29
professional Randor 10-May-10 9:29 
GeneralRe: How to find multiple servers on LAN using TCP socket Pin
Michel Godfroid10-May-10 9:44
Michel Godfroid10-May-10 9:44 
QuestionHave anybody catch errors of CrystalCtrl ? Pin
mesajflaviu10-May-10 1:50
mesajflaviu10-May-10 1:50 
JokeRe: Have anybody catch errors of CrystalCtrl ? Pin
mesajflaviu10-May-10 4:51
mesajflaviu10-May-10 4:51 
GeneralRe: Have anybody catch errors of CrystalCtrl ? Pin
David Crow10-May-10 4:55
David Crow10-May-10 4:55 
GeneralRe: Have anybody catch errors of CrystalCtrl ? Pin
mesajflaviu10-May-10 6:29
mesajflaviu10-May-10 6:29 
GeneralRe: Have anybody catch errors of CrystalCtrl ? Pin
David Crow10-May-10 6:37
David Crow10-May-10 6:37 
Questionread/write function working in linux Pin
rupeshkp72810-May-10 0:56
rupeshkp72810-May-10 0:56 
AnswerRe: read/write function working in linux Pin
Michel Godfroid10-May-10 1:18
Michel Godfroid10-May-10 1:18 
GeneralRe: read/write function working in linux Pin
rupeshkp72810-May-10 1:56
rupeshkp72810-May-10 1:56 
AnswerRe: read/write function working in linux Pin
Randor 10-May-10 6:13
professional Randor 10-May-10 6:13 
GeneralRe: read/write function working in linux Pin
Moak10-May-10 10:26
Moak10-May-10 10:26 
GeneralRe: read/write function working in linux Pin
rupeshkp72812-May-10 1:59
rupeshkp72812-May-10 1:59 
QuestionVirtual function in DLL Pin
john56329-May-10 23:17
john56329-May-10 23:17 
AnswerRe: Virtual function in DLL Pin
CPallini10-May-10 0:44
mveCPallini10-May-10 0:44 
GeneralRe: Virtual function in DLL Pin
john563210-May-10 1:47
john563210-May-10 1:47 
GeneralRe: Virtual function in DLL Pin
john563210-May-10 2:48
john563210-May-10 2:48 

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.