Re: Raw socket using data transfer

2012-08-18 Thread 1100110
On Wed, 01 Aug 2012 05:36:07 -0500, Regan Heath re...@netmail.co.nz  
wrote:


On Wed, 01 Aug 2012 11:00:54 +0100, Gangadhar gangadhar@gmail.com  
wrote:


By using raw s ocket programing data transfer from client to server  
please help me about this,any one have source code send me .


The phobos source contains socket code you can inspect .. perhaps not  
RAW sockets but I suspect you mean low-level STREAM or UDP and not  
actually RAW sockets (correct me if I'm wrong).  Otherwise, there is  
always google.  You do sockets programming in D, exactly as you would in  
C/C++ all you need is a .d file describing the C socket API (structures,  
and function signatures) and then you compile and link to ws2_32.lib (on  
windows).


R



Check out vibe.
http://vibed.org/

They have a raw tcp class you can use.
http://vibed.org/api/vibe.core.tcp#TcpConnection
--
Using Opera's revolutionary email client: http://www.opera.com/mail/


Re: Raw socket using data transfer

2012-08-01 Thread Gangadhar
By using raw s ocket programing data transfer from client to 
server please help me about this,any one have source code send me 
.


Re: Raw socket using data transfer

2012-08-01 Thread Regan Heath
On Wed, 01 Aug 2012 11:00:54 +0100, Gangadhar gangadhar@gmail.com  
wrote:


By using raw s ocket programing data transfer from client to server  
please help me about this,any one have source code send me .


The phobos source contains socket code you can inspect .. perhaps not RAW  
sockets but I suspect you mean low-level STREAM or UDP and not actually  
RAW sockets (correct me if I'm wrong).  Otherwise, there is always  
google.  You do sockets programming in D, exactly as you would in C/C++  
all you need is a .d file describing the C socket API (structures, and  
function signatures) and then you compile and link to ws2_32.lib (on  
windows).


R

--
Using Opera's revolutionary email client: http://www.opera.com/mail/