Copyleft Games

Intro to Network Programming

In this task you'll get your feet wet with writing code that operates on the Internet. You may use any online resources you can find or help on chat to help complete this task.

Use asyncio to open a listening UDP socket on localhost port 7100, then write a Python coroutine using "async def" to respond with a mirror (reversed) of the data for UDP datagrams received.

You will need some basic Python experience and access to a machine running Python 3.5. You can download Python at https://www.python.org/ or use our web-based shell.

When you're done, upload your .py file to this task.

Task tags

  • python
  • networking

Students who completed this task

AnPelec, przemub, Eleintel, okay19, yoloduck, MarksPolakovs, xrisk, hirurana, Davidesq

Task type

  • code Code

Level

Beginner
close

2015