C3E: Complex Compute Core Engine v1.0
An engine for handling complex computational tasks
Loading...
Searching...
No Matches
c3e_socket Struct Reference

Represents a network socket for communication. More...

#include <net.h>

Public Attributes

char * hostname
 The hostname or IP address of the server.
 
int port
 The port number on which the server is listening.
 
int sockfd
 The file descriptor for the socket.
 
struct sockaddr_in server_addr
 The server's address structure.
 

Detailed Description

This structure encapsulates the details of a network socket, including:

  • hostname: The hostname or IP address of the server.
  • port: The port number on which the server is listening.
  • sockfd: The file descriptor for the socket.
  • server_addr: The server's address, including the hostname and port number.

The documentation for this struct was generated from the following file: