Send and receive in socket

Charma Motoko_Kusanagi at web.de
Wed Aug 15 10:38:26 PDT 2007


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


More information about the Digitalmars-d-learn mailing list