Is there any way to read or write to a socket besides using the read()
and write()
functions. Is there any way to treat it like a stream and use the insertion/extraction operators (<< and >>)? The reason I ask is because with read I have to put an arbitrary size on the message to be read, but that can vary.
nanodano
0
Junior Poster in Training
Recommended Answers
Jump to Post>Is there any way to read or write to a socket besides using the read() and write() functions.
http://www.hmug.org/man/2/send.php
All 3 Replies
John A
1,896
Vampirical Lurker
Team Colleague
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
vijayan121
1,152
Posting Virtuoso
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.