1

bytes are missing after recv from UDP socket

view story
linux-howto

http://ubuntuforums.org – Code: import socket import sys import datetime import os try:     username = "root"     password = "Apacheah64"     db_name = "DB_GPS"     table_name = "Tbl_GPS"     host = ""     port = 6903     buf = 4096     except IndexError:         sys.exit(1) s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) s.bind((host, port)) while 1:     data = s.recv(buf)     if not data:         print("Client (Hardware)