Hi everyone,
I have written a client-server program in which client sends file to server and server must receive..but I get Receive ERROR (Can not receive DATAGRAM). could anyone tell me whats wrong with my codes?!
here is my server codes:
#include "stdafx.h"
#include <stdio.h>
#include...
Hi everyone,
I am going to read and write files in Access database using C programming..is there anyone out here to help me with that?!!
I am trying to use fopen(),fread() and fwrite() functions but to read and write from database I am not sure what argument I should use in these functions...
Hi everyone,
I have difficulty figuring out if POSIX is only used for UNIX or its possible to use its libraries and functions for windows or other OS?!
if not how to solve problems of standard C libraries limitation when we are writing a vast programm?
tnx for your help in advance :)
@ cpjust: thank you for your concern, the reason I want to write it in C is because I need the result to be .EXE file..so whoever wants to check the results does not need to install python in their computer to verify the result.
the main idea is to transfer the .py file from client to server...
hmmm tnx a lot..I will go though it but before that I need to solve this as well: I receive error C2065: 'si' : undeclared identifier, how can I define si??
I appreciate your help in advance:)
so whats wrong with this part of my code?
if (CreateProcess(
"C:\\Documents and Settings\\aps user 3\\My Documents\\Visual Studio 2008\\Projects\\Server\\Server\\running",NULL,NULL,NULL,FALSE,0,NULL,NULL,&si,&pi)<0)
fprintf(stderr,"ERROR on Create Process");
.......
Note:running file is a...
thank you so much for your reply..
but the file which is been transfered from client to server is a .py(python) file, so I want to make sure if it is possible to run a .py file by a server writen in c?!
Hi everyone,
I need to find out how can I replace a subprocess function in c?!
I have used fork() but seems this function works for UNIX.. I am using windows, so could anyone tell me how can I execute a file in c using windows? what is CreateProcess()? I am confused
I have developed a client-server system in python and now I want to make equivalent codes in C. is it possible to use client in python codes and server in c codes?! I mean am I able to send a .py file to server which is written in c?!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.