1. Servers forums.devshed.com |
|
|
hi all i am new to this group and recently knew abt this. i have to use a server in C++ with the following requirements. the server must support large number of clients simaltaniously and maintain some of the details of all the clients till they exist. the Clients will be active for a long time and continuous, sends a request ... |
Hi, I am writing a program in C which encrypts and transfers approximately 30 MB of data across the internet from a local computer (in New Zealand) to a server located somewhere in the USA. This is being done to synchronise local changes with a central database. Currently when I run the program it transfers at about 3kb/s which is far ... |
I am looking for some ideas for a little app that would run each time a user connects to check to see if a server is running and start it if it is not. The client app communicates with the server app via sockets on the local machine (so I can move it to another machine if things get successful). The ... |
Hi! I'm trying to send an AT command to a modem through simple hyperterminal-like program. But the the problem is that as the modem connects through RAS, I can't send the command and I keep getting error message "port already open" So is there any way around this? RAS Server API's ??? I've tried to look but with no luck! -Miska- ... |
|
I have a class that wraps a third party interface. Problem is, it's generating a substantial (~2 MB !) memory leak because the in process server that manages the interface isn't properly terminating when instances of the class are destroyed. I can verify this in Spy++, for each object that is ever created, a seperate server remains extant for the lifetime ... |
Hi there I am an IVR programmer. We use IBM's direct talk to create our lines. Now the custom servers that interface with these lines are writen in C. I'm not sure if anyone on these boards is familiar with DirectTalk at all, but I thought I would post here anyways (I have already tried the IBM news groups, but it ... |
Hi all, I'm programming a kind-of-messenger server based on winsock and select to avoid blocking. What I do is the classica: while(1){ select(0,read,write,exp); //0 Win32 bla bla processing. } I've seen that when running the program consumes almost 50-60 % of CPU, the rest goes to CSRSS.exe. Is it normal? And, what is this CSRSS service? Thanks. |
We have a program written in C++ that installs and works fine under Windows 2000 but when we try to run it on Windows 2000 Terminal Server the service won't start and appears to hang until the server is rebooted. We are trying to figure out how to troubleshoot this. Does anyone know if there are any differences in the OS's ... |
/* A simple server in the internet domain using TCP The port number is passed as an argument */ #include #include #include #include #include #include #include int main(int argc, char *argv[]) { struct addrinfo hints,*serv,*p; int sockfd,newfd,status; struct sockaddr_storage their_addr; socklen_t addr_size; char *msg; int len; int yes=1; if(argc<2) { printf("Usage = portno\n"); return(1); } memset(&hints,0,sizeof(hints)); hints.ai_family=AF_UNSPEC; ... |
|
|
|
To be honest, I've never heard of it. Obviously it is not finding the header files. You might need to ask your sysadmin what steps you need to take to compile C in your working directory, or to make the headers available. Barring that, just burn Ubuntu or Knoppix and use their Live CD mode to play around in a *nix ... |
Hi there. All mail sent through the SMTP server, i need to modify the message being sent through. I thought of making either a C,bash,perl script to take in the message, modify it and return it to SMTP, or stop the SMTP process, and re-call it from the script. Purpose of this is to have a pre-defined HTML template, and when ... |
|
|
|
|
|
|
|
|
|
|
/******************************************************************** * Systems Programming (COMU311) * * * * StreamServer: * * Creates a Stream Socket and displays any information sent by * * a client application. * * * * * * Brian Hainey, Glasgow Caledonian University * ********************************************************************/ #include #include #include #include #include "Assignment2Util.h" using namespace std; #define BUFF_SIZE 4096 #define SERVER_PORT 8080 /* The ... |
How many of you guys belive it is possible to program a server and create within it a simple environment in which people can write their own pieces of code and complie it without problems. This server should be capable of using multiple 'plugins'(the pieces to code which others write and is complied with the main server).These plugins should be able ... |
|
|
Perhaps you already have something excellent, and as I really don't know the capabilities of your solution I can just try to point you in what I think is the right direction. A full blown message queueing solution allows communication between partially connected devices - you post a message to a queue and the system takes care of delivery - some ... |
|
|
It does not work like this here. I am sorry but there is no quick question here. This sounds like your college project/assignment, you should put some effort. We expect you to put some time in trying the issue that you are facing and then some time in formulating the question while posting here. Here is what ... |
Well, my own "temporary" solution to the problem is the following: The problem was that i started my foreign process as administrator and the consumer client just as invoker. If i start the foreign process as invoker it gets detected and requests are delagated to it. I guess that i have to provide some sort of security options allowing ... |
|
|
A few ideas/comments: 1. Are you sure it's Apache doing the caching? Browsers tend to be very aggressive cachers. Beating the #$%^ out of Ctrl-F5 (or whatever your browser uses) seems to be a necessary evil. 2. Make sure mod_cache is excluded from your Apache config (I presume you have control over your dev machine.) 3. What language are you writing ... |
Peter, may I ask you why waiting, especially 3 seconds :-) If the pipe is not created on server path in 3 seconds, it may well be not created another hour. If the server was started in advance, then the client will be connected anyway. Perhaps you want to start client and server "almost at the same time"? Then, this would ... |
|
|
|
|
|
I have a piece of code that is supposed to get the time off a unix host acting as an ntp time server, the problem is that the computer I'm running it on has no access to the internet so I can't use any of the public ones. Would anyone have a piece of code that would mimic this time server ... |
|