N
Nate Smith
Hello,
I'm attempting to suppress the output of a password that is sent via
a TCPSocket. If I have the following code:
server = TCPServer.new( '127.0.0.1', 8888 )
socket = server.accept() # socket is now a TCPSocket
password = socket.gets()
is there a simple way to suppress the password on the client side
(I.E., turn off client-side echoing of the password)? I know there is
a way to do this with sockets in C, but can't figure out a way with
TCPSocket. Thanks!
Nate
I'm attempting to suppress the output of a password that is sent via
a TCPSocket. If I have the following code:
server = TCPServer.new( '127.0.0.1', 8888 )
socket = server.accept() # socket is now a TCPSocket
password = socket.gets()
is there a simple way to suppress the password on the client side
(I.E., turn off client-side echoing of the password)? I know there is
a way to do this with sockets in C, but can't figure out a way with
TCPSocket. Thanks!
Nate