3 # Note the difference between:
4 # >*eof => close the connection
5 # *eof => expect to read EOF from client
34 1 >>${readsocket{inet:[::1]:PORT_S}{QUERY-1\n}}<<
35 2 >>${readsocket{inet:[::1]:PORT_S}{QUERY-2\n}}<<
36 3 >>${readsocket{inet:[::1]:PORT_S}{QUERY-3\n}{2s}{*EOL*}}<<
37 4 >>${readsocket{inet:[::1]:PORT_S}{QUERY-4\n}{2s}{*EOL*}{sock error}}<<
38 5 >>${readsocket{inet:[::1]:PORT_S}{}}<<
39 6 >>${readsocket{inet:[::1]:PORT_S}{QUERY-6\n}}<<
40 7 >>${readsocket{inet:[::1]:PORT_S}{QUERY-7\n}{1s}{}{sock error}}<<
41 8 >>${readsocket{inet:[::1]:PORT_S}{QUERY-8\n}{1s}}<<
42 9 >>${readsocket{inet:[::1]:PORT_S}{QUERY-9\n}{1s}{}{sock error}}<<