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:
@ -40,7 +40,8 @@ void sk_init(void); /* called once at program startup */
|
||||
SockAddr sk_namelookup(char *host, char **canonicalname);
|
||||
void sk_addr_free(SockAddr addr);
|
||||
|
||||
Socket sk_new(SockAddr addr, int port, int privport, sk_receiver_t receiver);
|
||||
Socket sk_new(SockAddr addr, int port, int privport, int oobinline,
|
||||
sk_receiver_t receiver);
|
||||
void sk_close(Socket s);
|
||||
void sk_write(Socket s, char *buf, int len);
|
||||
void sk_write_oob(Socket s, char *buf, int len);
|
||||
|
Reference in New Issue
Block a user