Possible Duplicate:
Decoding chunked HTTP with Actionscript
I'm making a http server that merely allows access to my folder, download the files in it and also ... |
I am looking for a C library that implements the server end of ssh. In particular, I am only interested in the subset that provides port forwarding. The ones that I ... |
Hi This is My last question. Now my new requirement is to ping some set of servers and check if they are replying or not. I am trying my way ... |
The user, administrators and support staff need detailed runtime and monitoring information from a daemon developed in C.
In my case these information are e.g.
- the current system health, like throughput (MB/s), ...
|
I'm looking for a program or library that I could use for experimenting with board games (chess mostly, but not necessarily -- other similarly complex board games
are OK too). I'll test ... |
I'm trying to optimize my PostgreSQL 8.3 DB tables to the best of my ability, and I'm unsure if I need to use varchar_pattern_ops for certain columns where I'm performing a ... |
I am writing a simple SMTP server and client. Server is in two parts receiver-SMTP and Sender SMTP. both will run in two different daemon services. The two modes this can ... |
|
As stated in the title, the program is working on my local machine (ubuntu 9.10) but not on the server (linux). It's a grid hosting hosting package of godaddy.
Please help..
Here is ... |
I just edited an .SWF file I have on my website home page for a while now. I update the SWF frequently with new pictures. It's actually a picture slideshow, consisting ... |
I'm checking into upgrading to VS2010.
Our production servers only have 3.5 Framework and it will be 6-9 months before they are updated.
We also have a Continuous Integration Server, running CruiseControl.NET (CC.NET).
It ... |
I am studying COM. I think the best way to get a thorough understanding of COM is write one without any COM framework such as ATL. I have written a COM ... |
I'm attempting to install GCC 4.5.1 on my Apache server, but it says there is no acceptable C compiler found in $PATH. Any suggestions on what to do would be greatly ... |
I'm trying to create an XMPP library (and later a server) from scratch in a new C-like programming language (although the language itself is irrelevant) as a means to ... |
I am searching for a way to automatically take a screenshot of my X server if a window is created or the contents of a windows have changed.
I am currently achieving ... |
I'm trying to profile a server (source code available to me. c-code) on Linux environment. This server runs continuously like a web server. I'm trying to use gprof to profile the ... |
I'm getting this error when I try and compile my program on my school's external server.
Undefined ...
|
The function below simply serves html when it is called, however
void generateHTML (int socket) {
char* message;
// Sends HTTP response header
message = ...
|
I'm looking for some pointers or example code on how to build a CalDAV server using libical. Specifically, how would you use libical to produce a text representation ... |
I am writing my first single-threaded, single-process server in C using kqueue() / epoll() to handle asynchronous event dispatch. As one would expect, it is quite a lot harder to follow ... |
I have a server that is listening to stdin (user) and other clients.
Let's say i'm connected to many clients (i'm using select to control all file descriptors), and the user enters ... |
I want to create a message server using epoll. Several devices will connect to the server and exchange simple text messages. I don't have that much experience with this and I ... |
Possible Duplicate:
epoll message server
I am trying to develop a server using epoll. Several clients will connect to the server and will request a heavy ... |
I'm writing some apache (2.2) modules in C and I'm pretty new at it, so I was wondering:
I need to know if it's possible to create a global variable that will ... |
I'm writing some apache (2.2) modules in C and I'm pretty new at it, so I was wondering:
I want to make a daily task. One that will read a file and ... |
Possible Duplicate:
simple client and server
I want to learn how to code a server in C, preferentially using threads, but i don't know where to ... |
Short Question
Is there an accepted way to run compilers / linkers for embedded software projects on a remote server and still be able to program and debug the software on local ... |
We are using Redmine. The mysql adapter segfaults in the mornings when the first Redmine operation is attempted, e.g. clicking on the Projects menu. Redmine works perfectly after Webrick is manually ... |
I need to add into hard-written (not my) X11 code ability to embed another window via XEmbed. "Another window" can use GTKPlug or something like, but "Socket" code must be on ... |
Users would like me to add a button to a form that would allow them to browse a word doc or other file on thier C: drive and then save it to a network server folder. I presently have a button with a Click event with the following: Me.TaskDescrip.SetFocus RunCommand acCmdInsertHyperlink So I need to add code if possible to this ... |
I split our database so there is now one .mdb on each users c:\drive which contains all of the queries,reports and forms and the tables are linked to the tables in the master .mdb on the server. Now I can make design changes to the .mdb on the server throughout the day and not interrupt the users. What I'm ... |
|
|
thank kindly for your reply. Though i think i migth just use broadcasting, since im just working on the local network rather than the interent. So is there any guides on how to do broadcasting as well as does anyone know if there are different ways for a client to search of a server? |
Hi, I am using VB application as OLE Client (VB form with ole container) and OLE server (out-process - exe) as VC++ ATL (exe) application. OLE server is REGCLS_SINGLEUSE. For each OLE client, OLE server instacne is getting launched and client requests are working fine. The problem is, after sometime (sporadic) second OLE server getting launched. What i am expecting is ... |
Adem24 How would one program a sandbox? Let's say the server and all clients have the same architecture, and environment (for example 32bit x86-Linux environment). The server shall offer sandbox services to clients. A remote client can get a sandbox (an empty directory space) on the server, upload his precompiled executable program, start it, and then disconnect. When the program finishes ... |
|
|
|
I have this class project which requires me to demonstrate service availability using active and backup servers with the following conditions and requirements: A Name Server (say NS) to keep track of all the servers. One TCP connection between each client and the server. There will be one active server (say AS) and two backup servers (say BS1 and BS2). Heartbeat ... |
For AD Programing See below for Vista The error message "A referral was returned from the server." means that the account, group, container or OU can not be found in the specified active directory path. Checklist: Is the domain part OK? Example: domain name = "D09.acme.com" -> "dc=com/ dc=acme/dc=D09" Try to ping the domain name. Example: start the ... |
I tried with ur code ... but I am still getting the same error... even I changed the posgresql.conf and pg_hda.conf. and tried same result. Thanks & Regards... Moderator has not given new code. He has just put code tags which will make your code and post clearly readable. In Reply Guidelines, it is mentined that when you post any code ... |
Guillaume Charhon said: Hi, > I need do to a program that check if a pop server is alive. How can I do ? Your best bet is to ask in either comp.os.ms-windows.programmer.win32 or comp.unix.programmer, depending on your platform (or, if it isn't either of those, a group that is devoted to programming on your platform). I am a beginner in ... |
|
Hi :) We only have access to local news server when our international bandwidth is finished. When we view articles or parts from the local server which is cached, we get high speeds, if the articles or parts are not cached, the speeds are extremely slow. Is there a script or program we could use to check what is cached in ... |
Hi there :) I'm trying to code a webserver running under WinXP, multithreaded, etc... The creation of my threads, the handles, everything works fine except this : the WSAEventSelect. The first occurence of this function is in the main() and manages connections. If a connection is accepted, it sends the newly created socket to a thread that will handle both FD_WRITE ... |
P: n/a Jens Hello, I have been looking for some C-code which listens on a user-defined port for incoming data traffic. When data is received, the data is written to a file. I found some C-code (server) that almost does the job. It listens on a user-defined port and responds to incoming data by writing how many times somebody has tried ... |
Greetings, Perhaps this question should be posted to a web-development group and if so feel free to blast me. However I am a c/c++ developer that needs to pull some data across the net and really lack finesse (totally) in that area. I am working with mobile PCs with cellular broadband access and need to drive thru areas and test throughput. ... |
javiercubre wrote: Hello, > I'm currently assigned to do a DS model, with the client acessing and changing a value defined in server and i was told to use the select function to do it, but i'can't understand why. What will be it's use in this example? > Thanks in advance. > J A DS model addresses: * What are the ... |
|
|
|
Hello, i want to make a simple server and i have this part of code: Code: /* server.c Sample code of Assignment L2: Simple multithreaded search engine for the course 4-45 Operating Systems, University of Ioannina (c) A. Hatzieleftheriou, G. Margaritis 2011 */ #include "utils.h" #define MY_PORT 6767 #define BUF_SIZE 1024 #define MAX_PENDING_CONNECTIONS 10 char **filenames; // files to search in ... |
EPOLL echo server not concurrent Hi all, I am working on an epoll version of an echoserver that I am porting from a multithreaded version I wrote. What it should do: The server should get a connection from a client > say x client connected > print x message from said client. What it is doing: The server looks like it ... |
howto handle out-of-band traffic on server Hi all, Quick question, I have a simple port proxy program working, but I want it to be able to deal with out-of-band traffic. I did some Googling, and it looks like Signals are the way to go and modify my recieves? Also I noticed my code isn't closing its sockets when one of the ... |
Code: #include #include main(int argc, char *argv[]) { int sockfd, newsockfd ; /* Socket descriptors */ int clilen; struct sockaddr_in cli_addr, serv_addr; int port; int i, readsocks; char buf[100]; /* We will use this buffer for communication */ if(argc != 2) { printf("\nEnter port number only in the command line argument\n"); exit(0); } if ((sockfd = socket(AF_INET, SOCK_STREAM, 0)) ... |
56. C Server cboard.cprogramming.comI found this starter code but I'm not sure how to change it so that a) it accepts more than 1 client and b) gets rid of all the errors I get when I try to compile it. Code: #include #include #include #include #include #include #include #include #include #include #include ... |
I've been writing this code for a simple server and am having problems. It says there is something wrong with the way I declared my for loops. I looked at some code I had written previously, and the only difference was the variable I placed in the comparison. here is the portion of the code with the for loops. Code: #include ... |
58. Echo server cboard.cprogramming.com |
|
program terminated by signal SEGV, ONLY on a certain server Dear all We're experiencing something strange with our various C programs. Some of our C programs crash on "program terminated by signal SEGV" Then if we run them again, everything goes through fine. And this kind of problem only occur in our LIVE server, sadly. We got no problem with our ... |
|
Hi again, Lately I'm doing socket programming, as far I can tell it works fine. the problem is that how do I know if a server (on the box) is running. The gethostbyname() will only detect if a IP address exist or is currently running. The only idea that I have is, after gethostbyname() and a successful connect() my program will ... |
Server deadlocks, Nonblocking IO, or Timeout? Hi i'm trying to code a program in c that will essentially transfer commands (using netcat) recieved from a client to another computer running a command prompt or a bash shell or something... Problem: my problem is that when a client connects it can connect to the service and send messages like an ls command ... |
64. SMTP Server cboard.cprogramming.com |
65. Server in C cboard.cprogramming.comBeej's Guide looks great - thanks, bud. As I'm reading this, I'm a little confused. It keeps making references to "sys/socket.h" and stuff like that. Where do I get these additional OS-specific libraries? It didn't talk much about them, it seemed almost as if they were part of the standard. I'm also an almost exclusively Windows user, so I'd like to ... |
|
|
|
Ok, I have a "sound server" written in SDL, heres its code: sndserv.h: Code: #include #include #include #define null NULL #define MAX_PLAYING_SOUNDS 10 #define VOLUME_PER_SOUND SDL_MIX_MAXVOLUME / 2 //Desired Audio Specs #define FREQUENCY 44100; #define FORMAT AUDIO_S16 #define SAMPLES 4096 #define CHANNELS 2 #define CALLBACK AudioCallback #define USERDATA NULL static SDL_AudioSpec desired, obtained; typedef struct Sound_s { Uint8 ... |
|
|
Multithreaded Webchat-Server Hello! This is my first post here, I hope I don't do anything wrong. I'm currently working on a webchat for my website. In the past I tried a lot of different solutions but all either where using too much bandwith, too much CPU ressources or where simply too slow. Java applets are no alternative IMO. I knew that ... |
|
This is a long way from "Hello World", so be sure to plan it out. You will want to understand RFC 822 and, should you decide to support MIME, RFC 2045 (and 2046 as well, I believe). These documents will help you understand how email messages and attachments are formatted. You will also need to understand TCP sockets as well as ... |
How hard is it to put something in a C program that will "phone home" in order to make sure someone is a legit user of your program (someone who has paid). I'd have to buy a server. Right? Then I'd have to somehow write the code in. I'm a self-taught programmer and I know just enough to have made something ... |
/* whoisserver.c - main */ #include #include #include #include #include #include #include #define BACKLOG 5 /* # of requests we're willing to queue */ #define MAXHOSTNAME 32 /* maximum host name length we tolerate */ |
Hey guys and girls, I am toying with a project which I want to be able to access and change server settings in Outlook 2003+. I have googled a fair few terms, but I only seem to be able to find info on accessing emails and the address book etc. Can anyone point me in the right direction for accessing the ... |
My company has facilities all over north america. We are in the process of setting up a centralized fax server. One of our main inhouse programs generates reports in pdf format. The project managers then have the option to fax these reports to the client. This is where my project comes in. One part of the process is to generate an ... |
Quote: Originally Posted by Master Otley I use XP and I use command lines thru citrex Just what the frak is "citrex"? Wikipedia knows nothing about, nor does Google. In order to use a command line, you just simply open a console, AKA "DOS window", AKA "Cmd Prompt". And then enter DOS commands. Similarly, Google knows nothing about "Sanctuary Command and ... |
Hi! I found this code under the boost c++ libraries. I also read that it is platform independent. Here's the code: #include #include #include #include using boost::asio::ip::tcp; class session { public: session(boost::asio::io_service& io_service) : socket_(io_service) { } tcp::socket& socket() { return socket_; } void start() { socket_.async_read_some(boost::asio::buffer(data_, max_length), boost::bind(&session::handle_read, this, boost::asio:laceholders::error, boost::asio:laceholders::bytes_transferred)); } void handle_read(const boost::system::error_code& error, ... |
I'll also point out that the architecture you describe is quite unusual in client-server applications; in fact, it sounds like spyware installed on a client machine that communicates with a central server and that central server covertly intercepts client communications (eg username and password exchanges) with sites the client really intends to communicate with. |
Hello, I have been using Microsoft Visual C# Express with XNA Game Developer Express. So im at the stage where the game works on my windows PC. Now the question , What does the IIS server need to be able to run the game to be able to play it through the browser? Thanks, |
Yeah! It just says the difference between them, like the connection remains open until closed or keep-alive connection time set usually 5 min. But how to put it in pro grammatically ? I have completed the HTTP/1.0 version in c for just GET but have no idea how to make the connection persistent ! Thanks for the time |
Hi all Is it possible to obtain the server name which is holding the active directory you have connected to using C# .Net 1.1 or .Net 2. The reason being is that we have multiple active directory servers which are load balanced and we would really like to know which server we have actually been routed to via the load balancer ... |
Ok, this program I'm building is going to retrieve information from my website and return it back to the program. How can I do something like this? For example, I own a domain which is on a hosting plan and I have SQL databases there. I'd like to be able to connect to this database and return the information from a ... |
86. Server app forums.devshed.comI have made a little server and i can connect to it. The server can also send messages back to the client. Now i'm trying to when i send the string listen to the server that the server sends back "Waiting for commands..." but that part don' t work. Here's my code: #include "Socket.h" #include #include #include using ... |
hello again fellas, for those who have had experience with deploying symbol tables with applications for windows apps. i want to deploy a symbol table for a small app i have that crashes of which i cant re-create it so i want to deploy the symbol table and hopefully drwatson can give me a better idea of where this app is ... |
The problem is, the function you pass to CreateThread() can't really be a member of your class, because all normal class member functions receive an implicit 'this' pointer, and there is no way for the thread code to know how to do this. A static member function does not receive any hidden information, but is a member of the class (if ... |
I don't know... sorry. The same thing happens for me. It works when I go through my browser though. I didn't realize that was the "page not found" error page when I tried it the first time. At least you can get -something- though. I will mess with it more later tonight and let you know if I figure anything else ... |
Hi again, Lately I'm doing socket programming, as far I can tell it works fine. the problem is that how do I know if a server (on the box) is running. The gethostbyname() will only detect if a IP address exist or is currently running. The only idea that I have is, after gethostbyname() and a successful connect() my program will ... |
Hello, I'm looking for a C code to fetch the MX servers from a domain. I've already found one for UNIX, but even after serching hardly the net I couldn't find a windows code. The UNIX code is here: http://www.opensource.apple.com/darwinsource/Current/fetchmail-14/fetchmail/mxget.c For the unstarted people, to query a domain for MX servers one can type this command in Windows XP: nslookup -querytype=mx ... |
basically this is what i have so far... it connects and disconnects. where i have //send and recieve from client is where i need to recieve the raw packets and echo them, and send a raw packet back (example being aa 00 0b 3f 12 14 18 af f3 dc). Code: #include #include #include #include #define NETWORK_ERROR ... |
Hi I'm implementing a server monitoring client to monitor a wide range of servers. One of them is web servers. I have installed Apache web server in one of my machines I already know how to disable the Apache web server by /usr/local/apache2/bin/apachectl stop and by simulating this, my monitoring client detected that failure and can't connect to the web server ... |
Hi! Well, for programming even a simple server, you will have to learn about socket programming. For example, if you want to create an HTTP Server, you will have to write a program that listens to port 80. Secondly you will have to learn about protocols and standards used by services like HTTP. For a simple example, consider that if i ... |
i try to get a Gif File from a Server . I use this loop for( m=0; n=read(s, &imageFile[m], 50000); m+=n ) the Problem is i get som Data but not the Content of Gif File. I looked at the header of data recived and see, there is no statement for File langth. ?? Wenn i read byte for byte in ... |
i write a multi client - server program in MFC I use multithreading with socket and ca'nt figure it out. my program create two class base on CSocket : CListenSocket and CClientSocket . i listen myListenSocket. when a client connect to server i accept it. .... myListenSocket->Accept(*myClientSocket) AfxBeginThread(CClientThread,???) ... UINT(CCLientThread,LPVOID para) {} ... i dont' know how to put this pointer ... |
Hallo again, I couldn't solve the problem yet. So if anyone has an idea of how to tackle the problem, please let me know? Or is my description of the problem too vague? In addition the following might help: just before the error occurs in debug mode, the stack looks like: NTDLL! 77f68613() KERNEL32! 77ef4fad() OLE32! 65f523e9() OLE32! 65f50b55() OLE32! 65f010b2() ... |
hi , I am facing a typical problem while porting an application written in C++ from redhat linux 7.2 to Redhat advanced server.The application was running fine on redhat linux 7.2 Regarding file operations i am using stream objects of C++ for opening and closing the file.when I open a file for the first time and i close it it is ... |
I would like to write a program that will connect to an email server, and then, say every minute, would check for new emails, and if they are found, there will be some kind of pop up that says so. It needs to be able to run in the background, so I don't have it cluttering the start bar. Can anyone ... |
This is more of a setup problem than a c/c++ problem. I have an ATL/COM Service that works ok as a service on my local machine. That is, I can access it ok when using CoCreateInstance() in another application that also runs on the same computer. Now I want to move the service to another W2K Server computer and access it ... |