× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I do not think that will be a problem. Now do you initiate the
connection to the Cisco modem pool? If so, every time you connect, you
get a new Socket Descriptor and new buffers. If your program is
listening for new connections, then each new connection will have a new
buffer. Data from one connection will not spill into the next as long
as you are creating a new socket descriptor for each connection.

Now within your application, you will have your receive buffer defined.
1. have a seperate buffer for each socket descriptor, create/clear the
buffer whenever a new socket descriptor is created and a new connection
is established.

If you are not using Select() in your program, you are only handling one
connection at a time anyway. If you are listening, then clear your
buffers every time you go to Accept() If you are initiating, clear you
buffers before you Connect()


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.