ReceiveNetworkString

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
fweil
Enthusiast
Enthusiast
Posts: 725
Joined: Thu Apr 22, 2004 5:56 pm
Location: France
Contact:

ReceiveNetworkString

Post by fweil »

Could we get back ReceiveNetworkString() function which was handy in the past ...
My avatar is a small copy of the 4x1.8m image I created and exposed at 'Le salon international du meuble à Paris' january 2004 in Matt Sindall's 'Shades' designers exhibition. The original laminated print was designed using a 150 dpi printout.
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

The problem is, that SendNetworkString() just sends the string as raw data,
so there is no way to know if the incomming data is a string or not.
That's why ReceiveNetworkString() wouldn't help you much.

Timo
quidquid Latine dictum sit altum videtur
fweil
Enthusiast
Enthusiast
Posts: 725
Joined: Thu Apr 22, 2004 5:56 pm
Location: France
Contact:

Post by fweil »

Well, more or less I agree, it was just for satisfying my laziness ...

Anyway a procedure looping the received raw buffer is not a big deal.

Rgrds
My avatar is a small copy of the 4x1.8m image I created and exposed at 'Le salon international du meuble à Paris' january 2004 in Matt Sindall's 'Shades' designers exhibition. The original laminated print was designed using a 150 dpi printout.
Post Reply