¡@

Home 

c++ Programming Glossary: server

How to debug heap corruption errors?

http://stackoverflow.com/questions/1010106/how-to-debug-heap-corruption-errors

Valgrind is ridiculously flexible I've debugged large server software with many heap issues using it. When all else fails..

C/C++ Web Server Library? [closed]

http://stackoverflow.com/questions/175507/c-c-web-server-library

in C that can be used to embed an relatively simple HTTP server into my applications. Ultimately I will use this for application.. curl but I'm struggling to find a good solution for the server side. I'm sure other folks have done this before so I'd love.. question How about Shttpd I did some googling for a web server and came across this one Has anyone used it before share improve..

Get the IP address of the machine

http://stackoverflow.com/questions/212528/get-the-ip-address-of-the-machine

programmatically in C detect the IP addresses of the linux server my application is running on. The servers will have at least.. of the linux server my application is running on. The servers will have at least two IP addresses and I need a specific one.. to do that but where To make things a bit clearer The server will obviously have the localhost 127.0.0.1 The server will..

Floating point vs integer calculations on modern hardware

http://stackoverflow.com/questions/2550281/floating-point-vs-integer-calculations-on-modern-hardware

is too variable doesn't help I am running on a virtual server . Short of spending my entire day running hundreds of benchmarks..

C++ Winsock P2P

http://stackoverflow.com/questions/2843277/c-winsock-p2p

it up Setting up the connection Since you don't want a server all clients would need a listening socket to accept new connections...

#include all .cpp files into a single compilation unit?

http://stackoverflow.com/questions/543697/include-all-cpp-files-into-a-single-compilation-unit

need to iterate on like a release build from a central server but it isn't necessarily for incremental building. And it's..

C++ SMTP Example

http://stackoverflow.com/questions/58210/c-smtp-example

h_addr h_addr_list 0 FILE fin int sock struct sockaddr_in server struct hostent hp gethostbyname char buf BUFSIZ 1 int len char.. socket exit 1 else cout socket created n Verify host server.sin_family AF_INET hp gethostbyname host_id if hp struct hostent.. exit 2 Connect to port 25 on remote host memcpy char server.sin_addr char hp h_addr hp h_length server.sin_port htons 25..

How to solve Memory Fragmentation

http://stackoverflow.com/questions/60871/how-to-solve-memory-fragmentation

been getting problems whereby our long running server processes running on Windows Server 2003 have thrown an exception.. 2 jemalloc as used in Firefox 3 3 Doug Lea's malloc Our server process is developed using cross platform C code so any solution.. problems go away if our customers simply upgrade their server os c windows memory share improve this question First I..

Memcached on Windows (x64)

http://stackoverflow.com/questions/8896/memcached-on-windows-x64

could spill over into a debate regarding 32bit vs 64bit on servers but let's just say that my preference is 64bit and that I have.. there trying to get memcached running on a 64 bit Windows server....am I Any help or recommendations appreciated... Update Yes.. skills to make a stable build have failed I've trashed one server and 3 VM's just trying it out so now I turn to the real experts...

Why is reading lines from stdin much slower in C++ than Python?

http://stackoverflow.com/questions/9371238/why-is-reading-lines-from-stdin-much-slower-in-c-than-python

. The former is a macbook pro the latter is a very beefy server not that this is too pertinent. Edit 2 Removed this edit as.. using an even larger file 100M lines ~3.4GB on a fast server with very fast disk comparing the python the unsynced cin and..

Why does my STL code run so slowly when I have the debugger/IDE attached?

http://stackoverflow.com/questions/1060337/why-does-my-stl-code-run-so-slowly-when-i-have-the-debugger-ide-attached

may be disabled on some computers that are running Windows Server 2003 Windows XP or Windows 2000 For Visual Studio I prefer adding..

C++ Socket Server - Unable to saturate CPU

http://stackoverflow.com/questions/1234750/c-socket-server-unable-to-saturate-cpu

Socket Server Unable to saturate CPU I've developed a mini HTTP server in..

Why do I need strand per connection when using boost::asio?

http://stackoverflow.com/questions/12794107/why-do-i-need-strand-per-connection-when-using-boostasio

per connection when using boost asio I'm reviewing HTTP Server 3 example on Boost's website. Could you guys please explain.. With a half duplex protocol implementation such as HTTP Server 3 the strand is not necessary. The call chains can be illustrated..

C/C++ Web Server Library? [closed]

http://stackoverflow.com/questions/175507/c-c-web-server-library

C Web Server Library closed I'm looking for a well written flexible library..

Microsecond resolution timestamps on Windows

http://stackoverflow.com/questions/2414359/microsecond-resolution-timestamps-on-windows

The same is true for earlier systems By default Windows Server 2003 Service Pack 2 SP2 uses the PM timer for all multiprocessor..

How can a Windows service execute a GUI application?

http://stackoverflow.com/questions/267838/how-can-a-windows-service-execute-a-gui-application

against doing this. In some environments such as Terminal Server hosts with many active users determining which desktop is the..

How do I calculate the week number given a date?

http://stackoverflow.com/questions/274861/how-do-i-calculate-the-week-number-given-a-date

Windows. Related Getting week number off a date in MS SQL Server 2005 c windows algorithm time share improve this question..

BOOST ASIO - How to write console server

http://stackoverflow.com/questions/5210796/boost-asio-how-to-write-console-server

server I have to write asynchronous TCP Sever. TCP Server have to be managed by console for eg remove client show list.. of tutorials and I couldn`t find a solution to my problem. ServerTCP code class ServerTCP public ServerTCP boost asio io_service.. find a solution to my problem. ServerTCP code class ServerTCP public ServerTCP boost asio io_service A_ioService unsigned..

C++ SMTP Example

http://stackoverflow.com/questions/58210/c-smtp-example

len read sock buf BUFSIZ write 1 buf len printf Server s n buf MAIN int main int argc char argv Create Socket sock.. n Write some data then read some read_socket SMTP Server logon string send_socket HELO introduce ourselves read_socket..

How to solve Memory Fragmentation

http://stackoverflow.com/questions/60871/how-to-solve-memory-fragmentation

our long running server processes running on Windows Server 2003 have thrown an exception due to a memory allocation failure... is now the default memory allocation mechanism for Windows Server 2008 Vista ... Will my current problems go away if our customers..

boost::asio threadpool vs. io_service_per_cpu design

http://stackoverflow.com/questions/6161725/boostasio-threadpool-vs-io-service-per-cpu-design

done after profiling your application. Note that the HTTP Server 2 example only shows how to use an io_service per CPU it does..

Create WCF service for unmanaged C++ clients

http://stackoverflow.com/questions/686452/create-wcf-service-for-unmanaged-c-clients

far WWSAPI not good will not work on Win 2000 clients. ATL Server used following guide as a reference. I followed the steps outlined..

boost asio async_write : how to not interleaving async_write calls?

http://stackoverflow.com/questions/7754695/boost-asio-async-write-how-to-not-interleaving-async-write-calls

my implementation Client A send a message for Client B Server process the message by async_read the right amount of data and.. from Client A in Order not to block Client A Afterwards Server will process the information probably do a mysql query and then..

Memcached on Windows (x64)

http://stackoverflow.com/questions/8896/memcached-on-windows-x64

a 64bit OS and since it's an ASP.Net MVC solution with SQL Server DB the OS is either going to be Windows Server 2003 or hopfully.. with SQL Server DB the OS is either going to be Windows Server 2003 or hopfully 2008. I know that this could spill over into.. packages UPDATE they have recently released Memcached Server still FREE but enhanced distro with clustering web based admin..