Search:

Type: Posts; User: Jedimark

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    2,612

    I figured it out eventually. If anyone is...

    I figured it out eventually. If anyone is interested:


    while ((strcmp (buffer, "QUIT")) != 0) {
    result = recvfrom(serverSocket, buffer, sizeof(buffer), 0, (struct sockaddr*)...
  2. Replies
    6
    Views
    2,612

    Does anyone know of a solution to my problem? ...

    Does anyone know of a solution to my problem?

    The part of the code where my client sends data is:


    buffer = gets(buffer);
    printf("Read in %s\n", buffer);
    sendto(clientSocket, buffer,...
  3. Replies
    6
    Views
    2,612

    UDP Server -> Displaying Client Information

    Hi, I have a UDP server which a client can send messages to.

    I want the UDP server to be able to output the address and the port number of the client that sent the data.

    Any idea how this can...
Results 1 to 3 of 3