I have reposted the code for clien and server to make some variable names easier to understand.
client:
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Type: Posts; User: HelpMe12
I have reposted the code for clien and server to make some variable names easier to understand.
client:
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Just for info: I run server and client in seperate virtual machines.
I have posted the code for client and server:
client:
#include <stdio.h>
#include <stdlib.h>
Hello,
I am new to socket programming and have bought the book "TCP/IP Sockets in C".
I don't quite understand the relation between the client socket, the server socket and the socket...
Thanks for the quick response. I have changed my opinion though and think that the man page gives the right information.
I agree with this sentence:
In the send function the argument sockfd is...
I am a bit confused because the man page for send() says:
The argument sockfd is the file descriptor of the sending socket.
Other sources say that sockfd is the file descriptor of the socket...
Hello, I am currently learning about socket programming in c and have a question about the built-in functions send() and receive().
Does the first argument in send() Identity the socket from...