RTRlib
Loading...
Searching...
No Matches
tr_socket Struct Reference

A transport socket datastructure. More...

#include <transport.h>

Data Fields

void * socket
 
tr_open_fp open_fp
 
tr_close_fp close_fp
 
tr_free_fp free_fp
 
tr_send_fp send_fp
 
tr_recv_fp recv_fp
 
tr_ident_fp ident_fp
 

Detailed Description

A transport socket datastructure.

Parameters
socketA pointer to a technology specific socket.
open_fpPointer to a function that establishes the socket connection.
close_fpPointer to a function that closes the socket.
free_fpPointer to a function that frees all memory allocated with this socket.
send_fpPointer to a function that sends data through this socket.
recv_fpPointer to a function that receives data from this socket.

Field Documentation

◆ close_fp

tr_close_fp tr_socket::close_fp

◆ free_fp

tr_free_fp tr_socket::free_fp

◆ ident_fp

tr_ident_fp tr_socket::ident_fp

◆ open_fp

tr_open_fp tr_socket::open_fp

◆ recv_fp

tr_recv_fp tr_socket::recv_fp

◆ send_fp

tr_send_fp tr_socket::send_fp

◆ socket

void* tr_socket::socket

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