1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-02 12:02:47 -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

@ -163,7 +163,7 @@ char *x11_init (Socket *s, char *display, void *c) {
/*
* Open socket.
*/
*s = sk_new(addr, port, 0, x11_receive);
*s = sk_new(addr, port, 0, 1, x11_receive);
if ( (err = sk_socket_error(*s)) )
return err;