Advertisement
JiKeidan

Untitled

May 22nd, 2012
289
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.14 KB | None | 0 0
  1. Socket created...
  2. Bound to host, listening in on 127.0.0.1 : 9090
  3. Listening, waiting for incomming connection... ...
  4. Waiting for activity on host...
  5. Buffer: 1
  6. Creating new user
  7. Constructing user
  8. Waiting for activity on host...
  9. Buffer: 1
  10. Input:
  11. GET / HTTP/1.1 <#------original client browser input
  12. Host: 127.0.0.1:9090
  13. User-Agent: Mozilla/5.0 (Windows NT 5.2; WOW64; rv:12.0) Gecko/20100101 Firefox/
  14. 12.0
  15. Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
  16. Accept-Language: en-us,en;q=0.5
  17. Accept-Encoding: gzip, deflate
  18. Connection: keep-alive, Upgrade
  19. Sec-WebSocket-Version: 13
  20. Origin: http://127.0.0.1
  21. Sec-WebSocket-Key: AuOLPedPBIYolR0jDPm2hA==
  22. Pragma: no-cache
  23. Cache-Control: no-cache
  24. Upgrade: websocket
  25.  
  26.  
  27. string(458) "GET / HTTP/1.1
  28. Host: 127.0.0.1:9090
  29. User-Agent: Mozilla/5.0 (Windows NT 5.2; WOW64; rv:12.0) Gecko/20100101 Firefox/
  30. 12.0
  31. Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
  32. Accept-Language: en-us,en;q=0.5
  33. Accept-Encoding: gzip, deflate
  34. Connection: keep-alive, Upgrade
  35. Sec-WebSocket-Version: 13
  36. Origin: http://127.0.0.1
  37. Sec-WebSocket-Key: AuOLPedPBIYolR0jDPm2hA==
  38. Pragma: no-cache
  39. Cache-Control: no-cache
  40. Upgrade: websocket
  41.  
  42. "
  43. Key: AuOLPedPBIYolR0jDPm2hA== <#---key sent to server
  44.  
  45. int(119) <#----var dump of key per char to ensure within range
  46. int(101)
  47. int(88)
  48. int(76)
  49. int(118)
  50. int(117)
  51. int(108)
  52. int(53)
  53. int(67)
  54. int(55)
  55. int(77)
  56. int(97)
  57. int(101)
  58. int(65)
  59. int(116)
  60. int(106)
  61. int(67)
  62. int(87)
  63. int(121)
  64. int(99)
  65. int(90)
  66. int(104)
  67. int(83)
  68. int(73)
  69. int(56)
  70. int(84)
  71. int(99)
  72. int(61)
  73. Sending Response:
  74. HTTP/1.1 101 Switching Protocols
  75. Upgrade: websocket
  76. Connection: Upgrade
  77. Sec-WebSocket-Accept: weXLvul5C7MaeAtjCWycZhSI8Tc= <#----server handshake
  78. Checking for disconnect <#---not part of handshake response
  79. Array
  80. (
  81. [0] => User Object
  82. (
  83. [username] => Bob
  84. [password] => Chocolate
  85. [ip] => 127.0.0.1
  86. [SocketID] => Resource id #7 <#----client browser connection
  87. )
  88.  
  89. )
  90. Waiting for activity on host...
  91.  
  92. #>--------NO CLIENT INPUT via var socket = new WebSocket("ws://127.0.0.1:9090")-----<#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement