Search:

Type: Posts; User: HelpMe12

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    232

    I have reposted the code for clien and server to...

    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>
  2. Replies
    4
    Views
    232

    Just for info: I run server and client in...

    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>
  3. Replies
    4
    Views
    232

    question about sockets in c

    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...
  4. Replies
    3
    Views
    219

    Thanks for the quick response. I have changed my...

    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...
  5. Replies
    3
    Views
    219

    I am a bit confused because the man page for...

    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...
  6. Replies
    3
    Views
    219

    Question concerning Send() and recv()

    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...
Results 1 to 6 of 6