{"action":"created","issue":{"url":"https://api.github.com/repos/joewalnes/websocketd/issues/153","labels_url":"https://api.github.com/repos/joewalnes/websocketd/issues/153/labels{/name}","comments_url":"https://api.github.com/repos/joewalnes/websocketd/issues/153/comments","events_url":"https://api.github.com/repos/joewalnes/websocketd/issues/153/events","html_url":"https://github.com/joewalnes/websocketd/issues/153","id":78805375,"number":153,"title":"support for connect to backend ip+port ?","user":{"login":"jbardu","id":1498560,"avatar_url":"https://avatars.githubusercontent.com/u/1498560?v=3","gravatar_id":"","url":"https://api.github.com/users/jbardu","html_url":"https://github.com/jbardu","followers_url":"https://api.github.com/users/jbardu/followers","following_url":"https://api.github.com/users/jbardu/following{/other_user}","gists_url":"https://api.github.com/users/jbardu/gists{/gist_id}","starred_url":"https://api.github.com/users/jbardu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbardu/subscriptions","organizations_url":"https://api.github.com/users/jbardu/orgs","repos_url":"https://api.github.com/users/jbardu/repos","events_url":"https://api.github.com/users/jbardu/events{/privacy}","received_events_url":"https://api.github.com/users/jbardu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-21T03:25:49Z","updated_at":"2015-05-21T03:41:31Z","closed_at":null,"body":"Perhaps this sounds strange. but it would be useful for me at least to have websocketd not fork a program and run it for one connection, but simply connect to a given ip address and port, most likely 127.0.0.1 or a unix socket.\r\n\r\nSo for example listening on that port might be an event driven I/O capable process that just wants to talk to new clients via read and write with having to worry about all the web socket stuff, and it might be able to handle 65000 clients, or more with more than one IP address.\r\n\r\nSo clients <---> nginx <---> websocketd <---> event driven single thread process ?\r\nor clients <---> websocketd <---> event driven single threaded process\r\n\r\nDoes this make sense or am I missing something."},"comment":{"url":"https://api.github.com/repos/joewalnes/websocketd/issues/comments/104116095","html_url":"https://github.com/joewalnes/websocketd/issues/153#issuecomment-104116095","issue_url":"https://api.github.com/repos/joewalnes/websocketd/issues/153","id":104116095,"user":{"login":"asergeyev","id":715656,"avatar_url":"https://avatars.githubusercontent.com/u/715656?v=3","gravatar_id":"","url":"https://api.github.com/users/asergeyev","html_url":"https://github.com/asergeyev","followers_url":"https://api.github.com/users/asergeyev/followers","following_url":"https://api.github.com/users/asergeyev/following{/other_user}","gists_url":"https://api.github.com/users/asergeyev/gists{/gist_id}","starred_url":"https://api.github.com/users/asergeyev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asergeyev/subscriptions","organizations_url":"https://api.github.com/users/asergeyev/orgs","repos_url":"https://api.github.com/users/asergeyev/repos","events_url":"https://api.github.com/users/asergeyev/events{/privacy}","received_events_url":"https://api.github.com/users/asergeyev/received_events","type":"User","site_admin":false},"created_at":"2015-05-21T03:41:31Z","updated_at":"2015-05-21T03:41:31Z","body":"using netcat?\r\n\r\n   websocket --address 0.0.0.0 --port 12345 nc HOST PORT"}}