tcp.json 519 字节
Newer Older
F
feilong 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
{
  "multiline": [
    {
      "socket.SOCK_STREAM": "socket.SOCK_DGRAM"
    },
    {
      "s.bind((host, port))": ""
    },
    {
      "s.listen()": ""
    },
    {
      "s.connect((host, port))": "s.connect(host, port)"
    },
    {
      "s.bind((host, port))": "s.bind(host, port)"
    },
    {
      "continue": "break"
    },
    {
      "bytes(msg, 'utf-8')": "msg"
    },
    {
      "str(data, 'utf8')": "data"
    }
  ],
  "source": "tcp.py",
  "depends": [],
  "exercise_id": 7,
  "type": "code_options"
}