Nofew icon

Untitled

Nofew | PRO | 12/17/15 05:53:11 PM UTC | 0 ⭐ | 349 👁️ | Never ⏰ | []
text |

980 B

|

None

|

0 👍

/

0 👎

socket_setuser( (SOCKET) d s -- i )
-----------------------------------
Level: W3 ArchWizard
(SOCKET) = MUF Socket
d = dbref of player to connect the socket to.
s = string containing that player's password.
i = Indicates failure or not.
 Given a MUF socket, a valid player dbref, and that player's password,
will establish a normal telnet connection to that character using the
MUF socket's descriptor. 
 As far as the user can tell, the connection will seem like a standard
telnet connection to the MUCK from thereon out. Note that the SOCKET
can't be a listening socket. Normally it -should- be a socket made
from SOCKACCEPT, but in theory, sockets made by NBSOCKOPEN can be
used in the same way, though the behavior isn't certain. Note that
the username and host address of the player is only valid if
using this with sockets made from SOCKACCEPT.
 As a final note: Once a MUF socket is connected to a player, it should
no longer be used as a MUF socket.
 See: SOCKET PRIMS

Comments