Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > C and Network

Thread Tools

C and Network

Richard Bos
Posts: n/a
      08-17-2007 Removed) (Walter Roberson) wrote:

> In article <(E-Mail Removed)>,
> Richard Bos <(E-Mail Removed)> wrote:
> >Aleramo <(E-Mail Removed)> wrote:

> >> My boss gave me this problem to solve with the safety it could be
> >> possible.

> >He doesn't know what he's talking about.

> >It _is_ generally possible, on both Windows and Unixoids, _if_ you can
> >assume a friendly network.

> [OT]
> A *very* friendly network. An *extrodinarily* friendly network.

Depends on the OP's requirements, which I read differently than you.

> Richard, have you ever actually -been- a network administrator
> on a non-trivial network (say, more than 256 hosts) ?

No. *Counts* About a hundred.

> I have,
> and I was pretty good at it -- but there were times when it would
> take weeks or months to track down certain devices that would appear
> for short times and then disappear, even though we were using
> "fully managed" network infrastructure.

Yehess... but then, IME, you're talking about perhaps a laptop, perhaps
a built-in print server that disappears when the printer is turned off,
perhaps just a flaky machine.

> The point being that unless you have full complete taps on all of your
> switches, you -cannot- identify all the "servers and computers" on a
> network (the first thing requested by the original poster)

But not all.

> with full taps, you might not be able to locate some devices that seem
> to appear.

Physically locating them is a wildly different matter, of course.

> The OP's task would be considerably easier if the OP restricted themselves
> to computers that announce themselves on the local network,

Well, there's the point - he restricted himself to computers he can
access, and get a list of files from. That essentially narrows it down
to reliable servers and ditto workstations with file sharing turned on.
Devices that appear and disappear are not what he's after.

Reply With Quote
Mark McIntyre
Posts: n/a
On Fri, 17 Aug 2007 10:11:36 GMT, in comp.lang.c , Removed) (Richard Bos) wrote:

>Yehess... but then, IME, you're talking about perhaps a laptop, perhaps
>a built-in print server that disappears when the printer is turned off,
>perhaps just a flaky machine.

I once had a swathe of unusual MACs appearing in my logs. Turns out
some bl**dy consultants were in the building with their wireless PDAs.
Then there's the guy in accounts who brings in his personal laptop,
the guy in stores who thinks we don't know he's got a rogue wireless
access point under his desk, and the CEO's kids who invariably try to
hack our network from his home..... and _then_ there's all the
equipment at remote sites randomly going titsup, the weird behaviour
caused by dodgy leased lines to say Aberdeen or Kazakhstan, stray
engineers hooking monitoring kit to the lines, and Cosmic Rays....
Mark McIntyre

"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it."
--Brian Kernighan
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
whats the difference between point to point(HDLC and PPP) network and frame replay network? Wireless Networking 0 05-29-2007 10:53 PM
Utilitizing a remote Wireless Network and my own local network for max. bandwidth Computer Support 0 04-06-2007 10:16 PM
Network Timeout and Network Neighborhood question Lowly Engineer Computer Support 4 02-22-2006 01:48 AM
[WinXP] boot sequence - network drives and wireless network Troy Piggins Computer Support 0 04-13-2005 11:53 PM
Dell Inprion 1100 see's network with air card and regular network card but does not see the card help! Paul Tutle Sr. - OCC Computer Support 1 10-01-2004 09:23 PM