---
# System prepended metadata

title: User space python program for timestamp_1

---

# User space python program for timestamp_1
```
import socket
import time
HOST = '0.0.0.0'
PORT = 7000

s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
s.bind((HOST, PORT))
print('server start at: %s:%s' % (HOST, PORT))

 
while True:
    indata = s.recv(64,socket.MSG_WAITALL)
    print(time.time())
```