3 # initialize a socket, think of it as a cable
4 # SOCK_DGRAM specifies that this is UDP
5 s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM, 0)
7 # connect the socket, think of it as connecting the cable to the address location
8 s.connect(('10.11.0.254', 53))
10 PACKETDATA = 'SORRY.gdsfgdfgsdgsdgdggdfgdfgfdsgdsgdsgdgsdfgsdgfdsdg5asdsdgffgfhshaflshfljksdhfljsahdfhsadlfhsdhflahsdfhsdafiasdfisdhfahsfhisafhiashfhasfhishifsdfgafsdjgdjfdijgsdhgishddgdfgdfgsfsdfsfsaf asdffsdagafg sdffghsdfgisdhgdshfogdhoi25da11f6 \
11 f1agdfgdsfgdfgsdgsdgdggdfgdfgfdsgdsgdsgdgsdfgsdgfdsdg5asdsdgffgfhshaflshfljksdhfljsahdfhsadlfhsdhflahsdfhsdafiasdfisdhfahsfhisafhiashfhasfhishifsdfgafsdjgdjfdijgsdhgishddgdfgdfgsfsdfsfsaf asdffsdagafg sdffghsdfgisdhgdshfogdhoi25da11f6 \
12 f1agdfgdsfgdfgsdgsdgdggdfgdfgfdsgdsgdsgdgsdfgsdgfdsdg5asdsdgffgfhshaflshfljksdhfljsahdfhsadlfhsdhflahsdfhsdafiasdfisdhfahsfhisafhiashfhasfhishifsdfgafsdjgdjfdijgsdhgishddgdfgdfgsfsdfsfsafasdffsdagafg sdffghsdfgisdhgdshfogdhoi25da11f6'
13 # f1agdfgdsfgdfgsdgsdgdggdfgdfgfdsgdsgdsgdgsdfgsdgfdsdg5asdsdgffgfhshaflshfljksdhfljsahdfhsadlfhsdhflahsdfhsdafiasdfisdhfahsfhisafhiashfhasfhishifsdfgafsdjgdjfdijgsdhgishddgdfgdfgsfsdfsfsaf asdffsdagafg sdffghsdfgisdhgdshfogdhoi25da11f6 \
14 # f1agdfgdsfgdfgsdgsdgdggdfgdfgfdsgdsgdsgdgsdfgsdgfdsdg5asdsdgffgfhshaflshfljksdhfljsahdfhsadlfhsdhflahsdfhsdafiasdfisdhfahsfhisafhiashfhasfhishifsdfgafsdjgdjfdijgsdhgishddgdfgdfgsfsdfsfsaf asdffsdagafg sdffghsdfgisdhgdshfogdhoi25da11f6 \
15 # f1agdfgdsfgdfgsdgsdgdggdfgdfgfdsgdsgdsgdgsdfgsdgfdsdg5asdsdgffgfhshaflshfljksdhfljsahdfhsadlfhsdhflahsdfhsdafiasdfisdhfahsfhisafhiashfhasfhishifsdfgafsdjgdjfdijgsdhgishddgdfgdfgsfsdfsfsaf asdffsdagafg sdffghsdfgisdhgdshfogdhoi25da11f6'