---
layout: doc
title: master / connect
---
# connect

### NAME

    connect - get an object for a new user

### SYNOPSIS

    object connect( int );

### DESCRIPTION

    The  driver  calls  connect()  in the master object whenever a new user
    logs into the driver.  The object returned by connect() is used as  the
    initial user object.  Note that it is possible to use exec(3) to switch
    the user connection from the initial user object to some other object.
    
    The argument, an int value, is the port number that this connection has
    connected to.

### SEE ALSO

    exec(3), logon(4)

