Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- socket.connect = OK
- (client = [SYN])
- (server = [SYN, ACK])
- (client = [ACK])
- (do some python)
- (build packet)
- socket.send = OK
- (server = [ACK])
- socket.recv = OK
- (server = [FIN, ACK])
- (client = [ACK])
- (client = [RST, ACK])
- socket.close
- (do some python)
- (build new packet)
- socket connect = ERROR???
- Traceback (most recent call last):
- File "wiichat.py", line 148, in <module>
- checkin()
- File "wiichat.py", line 134, in checkin
- wiichat()
- File "wiichat.py", line 111, in wiichat
- sendline(line)
- File "wiichat.py", line 89, in sendline
- rawpacket(data)
- File "wiichat.py", line 82, in rawpacket
- sendpacket(data)
- File "wiichat.py", line 55, in sendpacket
- s.connect((HOST, PORT))
- File "/usr/lib/python2.7/socket.py", line 224, in meth
- return getattr(self._sock,name)(*args)
- File "/usr/lib/python2.7/socket.py", line 170, in _dummy
- raise error(EBADF, 'Bad file descriptor')
- socket.error: [Errno 9] Bad file descriptor
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement