November 4th, 2006 07:39 PM
set socket i/o buffer size to, say, 1024. now see if recv() returns almost immediately after the 1024 byte buffer is filled.
Kuphryn
October 6th, 2006 11:57 AM
one solution is pointer. you will better manage memory.
Kuphryn
October 3rd, 2006 06:39 PM
smart pointers are suitable for people that use c++ because of necessity or to look good when they should be using managed c++ or c#. definitely single thread and limited run-time decisions.
...
September 28th, 2006 01:15 PM
dynamical allocating is unnecessary
Kuphryn
September 26th, 2006 03:29 PM
you will need reference for this topic
dll injection
Kuphryn
September 26th, 2006 03:13 PM
good example
console redirector
http://www.codeproject.com/threads/consolepipe.asp
Kuphryn
September 26th, 2006 12:22 PM
conceptually pointer to pointer is important same as pointer to variable.
Kuphryn
September 25th, 2006 06:04 PM
logic is correct. multiple threads? possible that you open more pipes than close pipe?
Kuphryn
September 25th, 2006 04:36 PM
arg2 = new type *[]
pointer is an invaluable asset to efficient, robust software architecture without sacrificing resources
Kuphryn
September 25th, 2006 02:06 PM
one process creates the named pipe via CreateNamedPipe() and waits for clients via ConnectNamedPipe(). are there multiple connections to the pipe created in the first process on the second process?...
September 7th, 2006 03:57 PM
highly recommend Network Programming for Microsoft Windows Second Edition by Anthony Jone and Jim Ohlund
Kuphryn
September 7th, 2006 01:53 PM
Interesting.
check out getsockopt() and SO_SNDBUF. i read something about 8192 default buffer size
Kuphryn
September 7th, 2006 12:23 PM
dynamic allocation
Kuphryn
September 7th, 2006 12:18 PM
check out ziparchive
http://www.artpol-software.com/zipdoc/Zip.aspx
Kuphryn
September 5th, 2006 03:14 PM
array is one solution. inefficiency would be something like bunch of if/else
Kuphryn
September 5th, 2006 03:02 PM
This depends on design specifically drawing. one case you draw all objects. now select a different object based on its position attribute. another case each object draws itself. key is no...
September 5th, 2006 02:45 PM
not familiar with smart pointers. assign variable to value returned from function
auto_ptr<a> b()
{
return auto_ptr<a>(new a)
}
auto_ptr<a> c = b()
Kuphryn
September 5th, 2006 02:31 PM
drawing process relies on a relative object as start point. in normal example, first and last symbols, and lines are drawn first. now you have three options to select as a relative point. in...
September 1st, 2006 07:49 PM
PostThreadMessage()
Kuphryn
September 1st, 2006 12:41 PM
highly recommend winsock on windows platform
Kuphryn
August 31st, 2006 03:40 PM
a *b = new a
return &a
Kuphryn
August 31st, 2006 02:34 PM
consistency
new char const *[1]
Kuphryn
August 31st, 2006 01:36 PM
no notifications or no api to get hardware device status?
Kuphryn
August 28th, 2006 01:29 PM
definitely possible
check out msdn
socket is not the best solution for ipc because of network security and hardware dependency
Kuphryn
August 24th, 2006 01:15 PM