Re: Sockets and using them...

2016-11-07 Thread Charles Hixson via Digitalmars-d-learn
On 11/05/2016 11:02 PM, Era Scarecrow via Digitalmars-d-learn wrote: So I've got a project where I want to create basically a decentralized chat program where every program is a host and a client. When you connect all connections can go through to route the chat to everyone else. So to

Re: Sockets and using them...

2016-11-06 Thread Era Scarecrow via Digitalmars-d-learn
On Sunday, 6 November 2016 at 09:51:41 UTC, sarn wrote: It sounds like you want to do the same thing: design a protocol that includes some kind of message that's agreed to mean, "Yo, make a new connection on this port." Basically, any off-the-shelf textbook on network protocol design will

Re: Sockets and using them...

2016-11-06 Thread sarn via Digitalmars-d-learn
On Sunday, 6 November 2016 at 06:02:48 UTC, Era Scarecrow wrote: So I've got a project where I want to create basically a decentralized chat program where every program is a host and a client. When you connect all connections can go through to route the chat to everyone else. So to make

Sockets and using them...

2016-11-06 Thread Era Scarecrow via Digitalmars-d-learn
So I've got a project where I want to create basically a decentralized chat program where every program is a host and a client. When you connect all connections can go through to route the chat to everyone else. So to make this work I've looked over the sockets package and I don't quite