DDEのしくみ

X11転送
SSHサーバ
Xアプリケーション
SSH2_MSG_CHANNEL_DATA
SSH2_MSG_CHANNEL_DATA
TCP/22
handle_SSH2_channel_data()
→FWD_received_data()
→UTIL_sock_buffered_write()
→blocking_write()
FD_WRITE
FD_READ
Tera Term
TCP/6000
write_local_connection_buffer()
→UTIL_sock_write_more()
Xサーバ
read_local_connection()
→SSH_channel_send()
→SSH2_send_channel_data()