An operation on a socket or pipe was not performed because the system lacked sufficient buffer space or because a queue was full. WinSock was unable to allocate additional memory to accommodate the function request. This error indicates a shortage of resources on your computer.[...]
I am just guessing here. If this indeed a resource problem, can you try to close unneeded applications (also make sure you do not have a memory leak in your application) and alternatively run your software on a PC with more RAM? Another way to diagnose the problem, limit the server to 100 connections and then increase the value until you hit the problem (keep an eye on the overall system memory consumption e.g. with 'Windows Task Manager').
Are they all directly on the internet or are they hding behind NAT? If so you need to makwe sure you have NAT traversal enabled in the proxies.
answer : they all are directly on the internet
A Broadcast address (255.255.255.255) is for all devices on the subnet. A Unicast address is for one machine.
answer : This is not Broadcast sure . I donot know unicast
If you cant ping I dont see how you can sockets to work.
answer : server on public IP you can ping any where from world no proxy nat at all
ARP is hardware to IP address mapping. If you are on a LAN this is important, and thats the normal place to use sockets. On a pure IP backbone ARP isnt used of course.
answer : I think there is no need
Ditto the network cards.
And you say on some machines the sockets work. Hmmm.... client to server, or server to client (ie which is the watcher and which is opening the socket)?
answer : server on public IP is listener . and client on any where in the world open socket communication with the server with IP and port number
Even on th eones that work, ie the watcher can accept an incoming socket open, can it respond sucessully with that response arriving at the initiator?
answer : it respond succesfuully with the server
I think NAT is going to kill this dead. You need to have NAT traversal at least to have your clients IP addresses public enough to be visible to the server
answer : on one timer tick (usually 100ms) any client get the data and on next tick donot get and again get on next tick . this is happening randomly with all clients ,and I am sure all clients are connected sussefully to the server.
before that line of code,there are many other html codes before and after it.
my friend suggested to me using string compare this string "<span class="streaming-datum" id="yfs_l10_^ixic">" and if the compare value is true, do a loop and loop through the remaining text till i get a '<'
but how do i continue looking for the value after &lt;span class="streaming-datum" id="yfs_l10_^ixic"&gt;
is there other way beside using HTML Reader C++ Class Library?
Not that I know of; you could try Google to see if there is a better option. Alternatively you write your own, I have done this in the past but it is not a simple task, much better to leverage what others have already done.
Let me elaborate my requirement. I want to hide the menu items which are not used often by the user. Show only the menu items which are frequently used. Provide an arrow (MS word shows two down arrows one below the other) as last item in menu. When the user places his cursor on this arrow show all menu items. If user clicks on any item which was hidden, bring it to frequently used list and show it by default next time.
The implementation wil be:
I have to track all menu clicks of user and store them along with date and time. When it becomes one month old move it to rarely used list. I may have to use a database or a data file.
Show an arrow (how?) when some items are hidden.
Show all items when the cursor is on arrow (not on click) (How?)
As I have to start the project from scratch, I'm looking for some inputs who has already implemented so that I can implement in optimized way.
Last Visit: 31-Dec-99 19:00 Last Update: 6-Mar-21 23:47