前台源码
<html>
<head>
<meta charset="UTF-8">
<title>Web sockets test</title>
<script src="~/Style/Js/jquery-1.8.3.js"></script>
<script type="text/javascript">
$(function () {
(function longPolling() {
$.ajax({
url: "/WebSocket/indexstring",
data: { "timed": new Date().getTime() },
&n