et-nik / et-nik/phpwebsocket

Having a message sent when client connect?

Open
#24 1 comment 0 reactions 0 assignees View on GitHub
auto-migrated Priority-Medium Type-Defect
Dominant language
PHP
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```
What steps will reproduce the problem?
1. Change the WebSocket.Class.php code to have :

$client=socket_accept($this->master);
if($client<0){ $this->log("socket_accept() failed"); continue; }
else{ $this->connect($client);
$this->send($client,"Default message");

What is the expected output? What do you see instead?
Instead of having the "Default message" nothing is sent and all broke.

Any idea?

```

Original issue reported on code.google.com by `mrdesjar...@gmail.com` on 22 Feb 2011 at 2:03

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.