# I'm full of questions today...

Kipp the Kidd (mcmudge@mailbox.syr.edu)
Thu, 2 Nov 1995 08:44:03 PST

- Messages sorted by:[ date ][ thread ][ subject ][ author ]

    On Wed, 1 Nov 1995, James Renken wrote:

    > What is the function to determine if a certain network connection is still
    > active?

    In a !d verb, try any of theese:
    typeof(connection_name(OBJ))!=ERR
    typeof(idle_seconds(OBJ))!=ERR

    And for players:
    OBJ in connected_players()
    connected_seconds(obj)       - There's a small bug in using this... if a
    player has been connected for less than a second, this will return 0,
    making it seem like the person isn't connected.  If they really aren't,
    it'll return E_INVARG (I think).

    - Kipp