www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Sockets and D?

reply Jimi_Hendrix <myspot40 gmail.com> writes:
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
Apr 02 2009
next sibling parent reply "Denis Koroskin" <2korden gmail.com> writes:
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.
Apr 02 2009
parent reply jimi hendrix <myspot40 gmail.com> writes:
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?
Apr 02 2009
parent reply "Denis Koroskin" <2korden gmail.com> writes:
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.
Apr 02 2009
parent jimi hendrix <myspot40 gmail.com> writes:
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.
Apr 04 2009
prev sibling parent downs <default_357-line yahoo.de> writes:
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
Apr 05 2009