Use create_server for tcp protocol example.