1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-01 19:42:48 -05:00

Yet another attempt at OOB handling in the network abstraction. This

version allows you to specify, per socket, which sockets receive OOB
data in-line (so that you know what was before the mark and what was
after) and which receive it out of line (so it's really a one-byte
out-of-band facility rather than discard-to-mark). This reflects the
fact that rlogin appears to make more sense in the latter mode, and
telnet in the former. This patch makes rlogin work right for me.

[originally from svn r921]
This commit is contained in:
Simon Tatham
2001-02-01 14:11:04 +00:00
parent 1e2b9ced01
commit 60585cff9c
7 changed files with 40 additions and 24 deletions

View File

@ -507,7 +507,7 @@ static char *telnet_init (char *host, int port, char **realhost) {
/*
* Open socket.
*/
s = sk_new(addr, port, 0, telnet_receive);
s = sk_new(addr, port, 0, 1, telnet_receive);
if ( (err = sk_socket_error(s)) )
return err;