Advertisement
Guest User

Untitled

a guest
Oct 10th, 2015
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. socket.connect = OK
  2. (client = [SYN])
  3. (server = [SYN, ACK])
  4. (client = [ACK])
  5. (do some python)
  6. (build packet)
  7. socket.send = OK
  8. (server = [ACK])
  9. socket.recv = OK
  10. (server = [FIN, ACK])
  11. (client = [ACK])
  12. (client = [RST, ACK])
  13. socket.close
  14. (do some python)
  15. (build new packet)
  16. socket connect = ERROR???
  17.  
  18. Traceback (most recent call last):
  19. File "wiichat.py", line 148, in <module>
  20. checkin()
  21. File "wiichat.py", line 134, in checkin
  22. wiichat()
  23. File "wiichat.py", line 111, in wiichat
  24. sendline(line)
  25. File "wiichat.py", line 89, in sendline
  26. rawpacket(data)
  27. File "wiichat.py", line 82, in rawpacket
  28. sendpacket(data)
  29. File "wiichat.py", line 55, in sendpacket
  30. s.connect((HOST, PORT))
  31. File "/usr/lib/python2.7/socket.py", line 224, in meth
  32. return getattr(self._sock,name)(*args)
  33. File "/usr/lib/python2.7/socket.py", line 170, in _dummy
  34. raise error(EBADF, 'Bad file descriptor')
  35. socket.error: [Errno 9] Bad file descriptor
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement