Hello everybody
im just creating an client that is going to communicated with Iterative server.
and i get this error:
warning: the `gets' function is dangerous and should not be used.
and i think this is related to this code:
printf("Enter message to be sent:\n");
gets(send_buf);
and this is my code for the client could anyone could check it...
User Profile
Collapse
-
warning: the `gets' function is dangerous and should not be used.
-
thank you very much it worked -
error: syntax error before numeric constant
im creating a iterrative server
and i get this error
error: syntax error before numeric constant
and this errors occurs near this line:
int listen(sock,5);
need help
and this is begining of my iterative server
can any one check my code to see if im on the right track:
[code=c]
#include <sys/types.h>
#include <sys/socket.h>... -
Segmentation faults with client and server
Hello evryboody, i created client and srever program that they can both communicate together by TCP and UDP, but when i want to send message to server from client i get error on the server i get error "Segmentati on Fault"
This is Code for server:
/* server_it.c: DST iterative echo server
to be linked with DST_sock */
#include <stdio.h>
#include <netinet/in.h>... -
undefined reference
Hello everybody
im creating a srever program for my work
that can communicate with the client using udp protocol.
i get couple errors and i do not know hat those error mean and what is the problem with by code.
Need Help
The code:
#include <stdio.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdlib.h>
#include <unistd.h>...
No activity results to display
Show More
Leave a comment: