equal
deleted
inserted
replaced
49 |
49 |
50 // construct message string |
50 // construct message string |
51 $message = "#" . $currID . "#" . $reqID . "#" . $search_term; |
51 $message = "#" . $currID . "#" . $reqID . "#" . $search_term; |
52 |
52 |
53 $host="localhost"; |
53 $host="localhost"; |
54 $port = 8080; |
54 $port = 9090; |
55 $timeout = 30; |
55 $timeout = 30; |
56 |
56 |
57 $sk=fsockopen($host,$port,$errnum,$errstr,$timeout); |
57 $sk=fsockopen($host,$port,$errnum,$errstr,$timeout); |
58 |
58 |
59 if (!is_resource($sk)) |
59 if (!is_resource($sk)) |