Thread overview
Sockets and D?
Apr 03, 2009
Jimi_Hendrix
Apr 03, 2009
Denis Koroskin
Apr 03, 2009
jimi hendrix
Apr 03, 2009
Denis Koroskin
Apr 04, 2009
jimi hendrix
Apr 05, 2009
downs
April 03, 2009
Hi, I am new to D but not to programming.  I have had some socket experience before.  How would i connect to a server using sockets in D?  A link to a D socket tutorial (if one exists) would also be appreciated.

by the way, first post to a newsgroup for me
April 03, 2009
On Fri, 03 Apr 2009 04:19:10 +0400, Jimi_Hendrix <myspot40@gmail.com> wrote:

> Hi, I am new to D but not to programming.  I have had some socket experience before.  How would i connect to a server using sockets in D?  A link to a D socket tutorial (if one exists) would also be appreciated.
>
> by the way, first post to a newsgroup for me

Hi!

I'd suggest you to look at Tango as it has very impressive networking feature set.
Alternatively, you can use all those BSD sockets API functions from D directly (as you'd do in C/C++), but I wouldn't recommend going that low-lever.

April 03, 2009
On Fri, 03 Apr 2009 04:35:21 +0400, Denis Koroskin wrote:

> I'd suggest you to look at Tango as it has very impressive networking feature set.

tutorial? also what do i need to download to use tango?
April 03, 2009
On Fri, 03 Apr 2009 04:55:59 +0400, jimi hendrix <myspot40@gmail.com> wrote:

> On Fri, 03 Apr 2009 04:35:21 +0400, Denis Koroskin wrote:
>
>> I'd suggest you to look at Tango as it has very impressive networking
>> feature set.
>
> tutorial? also what do i need to download to use tango?

http://dsource.org/projects/tango
http://dsource.org/projects/tango/wiki/Download
http://dsource.org/projects/tango/wiki/Tutorials
http://dsource.org/projects/tango/wiki/Examples

Tango usually bundled with a compiler so that you get started faster.

April 04, 2009
On Fri, 03 Apr 2009 04:59:52 +0400, Denis Koroskin wrote:

> On Fri, 03 Apr 2009 04:55:59 +0400, jimi hendrix <myspot40@gmail.com> wrote:
> 
>> On Fri, 03 Apr 2009 04:35:21 +0400, Denis Koroskin wrote:
>>
>>> I'd suggest you to look at Tango as it has very impressive networking feature set.
>>
>> tutorial? also what do i need to download to use tango?
> 
> http://dsource.org/projects/tango http://dsource.org/projects/tango/wiki/Download http://dsource.org/projects/tango/wiki/Tutorials http://dsource.org/projects/tango/wiki/Examples
> 
> Tango usually bundled with a compiler so that you get started faster.

Thanks, I will post here if I have questions.
April 05, 2009
Jimi_Hendrix wrote:
> Hi, I am new to D but not to programming.  I have had some socket experience before.  How would i connect to a server using sockets in D?  A link to a D socket tutorial (if one exists) would also be appreciated.
> 
> by the way, first post to a newsgroup for me

As certain Tango users have neglected to tell you, Phobos also has a perfectly servicable socket interface in std.socket. If you know Sockets in C, you should have no problem with it.

http://digitalmars.com/d/1.0/phobos/std_socket.html