MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 1 | SYNOPSIS |
Zesstra | 7ea4a03 | 2019-11-26 20:11:40 +0100 | [diff] [blame] | 2 | object connect(void) |
MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 3 | |
| 4 | DESCRIPTION |
Zesstra | 7ea4a03 | 2019-11-26 20:11:40 +0100 | [diff] [blame] | 5 | Return a login object that the requested connection should be |
| 6 | bound to. |
MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 7 | |
Zesstra | 7ea4a03 | 2019-11-26 20:11:40 +0100 | [diff] [blame] | 8 | Note that the connection is at this time bound to the master object, |
| 9 | and will be re-bound to the returned object. |
| 10 | |
| 11 | The lfun logon() will be applied to the login object after |
| 12 | binding the connection to it. That lfun has to return != 0 to |
| 13 | indicate success. |
| 14 | |
| 15 | If connect() initiates a secure connection without setting a callback, |
| 16 | and the connection is still handshaking at the time connect() returns, |
| 17 | the driver will delay the call to logon() until the handshake either |
| 18 | succeeds or fails. |
| 19 | |
| 20 | HISTORY |
| 21 | LDMud 3.2.13/3.3.713 streamlined the handling of secure connections |
| 22 | during logon. |
MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 23 | |
| 24 | SEE ALSO |
Zesstra | 7ea4a03 | 2019-11-26 20:11:40 +0100 | [diff] [blame] | 25 | logon(A), disconnect(M), interactive(E), exec(E), |
| 26 | net_connect(E), tls_init_connection(E) |