Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CAsyncSocket and Data limitations

Status
Not open for further replies.

Valius

Programmer
Oct 20, 2000
174
US
When ever I send something over the network using my program, I am only limited to about 4 bytes in the buffer. What's going on? I have my buffer declared as a char[4096]. This should be plenty of room to store more than 4 bytes. Any and all info is greatly appreciated. Thanks in advance!

Niky Williams
NTS Marketing
Niky.Williams@NTSMarketing.com
 
You should sed data with smaller portions (datagrames). John Fill
1c.bmp


ivfmd@mail.md
 
The only problem with datagrams is that they are connectionless....I won't know for sure if they get to their destination unless I start sending "verification messages". That's why I wanted to use a Streaming socket. I figgured it would be easiest and I was sure that my data got to where it was supposed to go. I just don't understand why there is somesort of "data cap" on how much data I can send using a streaming socket. I guess I'm just confused...I guess that's what I get for begin a green horn in this matter. Thanks for your time and input!

Niky Williams
 
Okay, I feel like an idiot. It's fixed, thanks for your time anyway!

Niky Williams
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top