Skip to content

File syn_transport_tcp.h

FileList > net > syn_transport_tcp.h

Go to the source code of this file

Bridge for syn_transport over a TCP socket.

  • #include "../common/syn_defs.h"
  • #include "../port/syn_port_socket.h"
  • #include "syn_transport.h"

Classes

Type Name
struct SYN_TransportTcp
TCP bridge transport layer context.

Public Functions

Type Name
void syn_transport_tcp_init (SYN_Transport * t, SYN_TransportTcp * tcp, SYN_Socket sock)
Initialize a TCP transport bridge.

Public Functions Documentation

function syn_transport_tcp_init

Initialize a TCP transport bridge.

void syn_transport_tcp_init (
    SYN_Transport * t,
    SYN_TransportTcp * tcp,
    SYN_Socket sock
) 

Configures the transport interface vtable with the socket-specific operations.

Parameters:

  • t Pointer to the parent transport structure to configure.
  • tcp Pointer to the TCP transport context structure to associate.
  • sock Connected TCP socket to bind to this transport.


The documentation for this class was generated from the following file src/syntropic/net/syn_transport_tcp.h