projects
/
ga4php.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
removed eronius comment
[ga4php.git]
/
unittests
/
socketsend.php
1
<?php
2
$res = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
3
4
socket_connect($res, "127.0.0.1", 10056);
5
6
$str = "asdflkjahsdfkjhlaskdfhlaskjdflkasdjfh:EOD";
7
socket_send($res, $str, strlen($str), 0);
8
echo "sent\n";
9
10
sleep(100000);
11
12
?>