Sign in to follow this  
Followers 0
kjcdude

Windows Server 2003 Active Connections

2 posts in this topic

#1 ·  Posted (edited)

I imagine there is a script out there already, i'm looking to run a server side script on a windows server 2003 file distribution server that writes to an ini file the current active connections, which will be read later by clients to see if they should connect or not.

Thanks

Edited by kjcdude

Share this post


Link to post
Share on other sites



I imagine there is a script out there already, i'm looking to run a server side script on a windows server 2003 file distribution server that writes to an ini file the current active connections, which will be read later by clients to see if they should connect or not.

Thanks

do you mean something like what you view with NETSTAT?


func get_quote()
   local $quote 
   switch random(1, 3, 1)
    case 1
     $quote = '"' & "A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, " & _
       "design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give " & _
       "orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, " & _
       "fight efficiently, die gallantly. Specialization is for insects." & '"' & " Robert A. Heinlein"
    case 2
     $quote =  '"' & "Within each of us lies the power of our consent to health and sickness, to riches and poverty, to freedom " & _
       "and to slavery. It is we who control these, and not another." & '"' & " Richard Bach (Illusions)"
    case 3
     $quote ='"' & "Don't handicap your children by making their lives easy." & '"' & " Robert A. Heinlein"
   EndSwitch
   MsgBox(0, "Quote for the moment", $quote & @CRLF)
EndFunc

get_quote()

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0