Send and receive in socket

Carlos Santander csantander619 at gmail.com
Wed Aug 15 10:45:07 PDT 2007


Charma escribió:
> Hello,
> I try to use the std.socket to send data from a client to a "server". Up 
> to now i managed to get a connection and to send strings and chars of 
> text but i am not able to send and receive floats or other types of 
> numbers...
> Maybe anyone knows how to do that?
> the socket-command only accepts void[] and i have no idea how to make an 
> array from the 4 bytes that a float has...
> 
> Thanks for any help,
> sorry for my engrish...
> 
> Charma

Maybe std.socketstream has what you're looking for?

-- 
Carlos Santander Bernal


More information about the Digitalmars-d-learn mailing list